Changeset: 578 fdbozzo - 22/12/2014 00:01:42:
- Arreglo del INTERACTIVE faltante y uso de ATC() en vez de $
This commit is contained in:
@@ -1954,8 +1954,9 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
*-- EJECUCI<43>N NORMAL
|
*-- EJECUCI<43>N NORMAL
|
||||||
|
|
||||||
|
|
||||||
IF '-SHOWMSG' $ ('-' + tcType) AND NOT '-BIN2PRG' $ ('-' + tcType) AND NOT '-PRG2BIN' $ ('-' + tcType) ;
|
IF ( ATC('-SHOWMSG', ('-' + tcType)) = 1 OR ATC('-INTERACTIVE', ('-' + tcType)) = 1 ) ;
|
||||||
AND lcInputFile_Type == C_FILETYPE_DIRECTORY
|
AND ATC('-BIN2PRG', ('-' + tcType)) = 0 AND ATC('-PRG2BIN', ('-' + tcType)) = 0 ;
|
||||||
|
AND lcInputFile_Type == C_FILETYPE_DIRECTORY THEN
|
||||||
*-- Se seleccion<6F> un directorio y se puede elegir: Bin2Txt, Txt2Bin y Nada
|
*-- Se seleccion<6F> un directorio y se puede elegir: Bin2Txt, Txt2Bin y Nada
|
||||||
.writeLog( loLang.C_INTERACTIVE_DIRECTORY_SELECTION_LOC )
|
.writeLog( loLang.C_INTERACTIVE_DIRECTORY_SELECTION_LOC )
|
||||||
loFrm_Interactive = CREATEOBJECT('frm_interactive')
|
loFrm_Interactive = CREATEOBJECT('frm_interactive')
|
||||||
@@ -2024,7 +2025,7 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
EXIT
|
EXIT
|
||||||
|
|
||||||
|
|
||||||
CASE '-BIN2PRG' $ ('-' + tcType)
|
CASE ATC('-BIN2PRG', ('-' + tcType)) = 1
|
||||||
.writeLog( '> ' + loLang.C_OPTION_LOC + ': BIN2PRG' )
|
.writeLog( '> ' + loLang.C_OPTION_LOC + ': BIN2PRG' )
|
||||||
|
|
||||||
DO CASE
|
DO CASE
|
||||||
@@ -2077,7 +2078,7 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
ENDCASE
|
ENDCASE
|
||||||
|
|
||||||
|
|
||||||
CASE '-PRG2BIN' $ ('-' + tcType)
|
CASE ATC('-PRG2BIN', ('-' + tcType)) = 1
|
||||||
.writeLog( '> ' + loLang.C_OPTION_LOC + ': PRG2BIN' )
|
.writeLog( '> ' + loLang.C_OPTION_LOC + ': PRG2BIN' )
|
||||||
|
|
||||||
DO CASE
|
DO CASE
|
||||||
@@ -2300,7 +2301,7 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
loLang = CREATEOBJECT("CL_LANG","EN")
|
loLang = CREATEOBJECT("CL_LANG","EN")
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|
||||||
IF '-SHOWMSG' $ ('-' + tcType) OR '-INTERACTIVE' $ ('-' + tcType) THEN
|
IF ATC('-SHOWMSG', ('-' + tcType)) = 1 OR ATC('-INTERACTIVE', ('-' + tcType)) = 1 THEN
|
||||||
toEx.UserValue = toEx.UserValue + 'tc_InputDir = [' + TRANSFORM(tc_InputFile) + ']' + CR_LF
|
toEx.UserValue = toEx.UserValue + 'tc_InputDir = [' + TRANSFORM(tc_InputFile) + ']' + CR_LF
|
||||||
THIS.l_ShowErrors = .F. && La opci<63>n "SHOWMSG" muestra su propio mensaje
|
THIS.l_ShowErrors = .F. && La opci<63>n "SHOWMSG" muestra su propio mensaje
|
||||||
ENDIF
|
ENDIF
|
||||||
@@ -2336,7 +2337,7 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
CD (JUSTPATH(THIS.c_CurDir))
|
CD (JUSTPATH(THIS.c_CurDir))
|
||||||
|
|
||||||
DO CASE
|
DO CASE
|
||||||
CASE '-SHOWMSG' $ ('-' + tcType) OR '-INTERACTIVE' $ ('-' + tcType)
|
CASE ATC('-SHOWMSG', ('-' + tcType)) = 1 OR ATC('-INTERACTIVE', ('-' + tcType)) = 1
|
||||||
|
|
||||||
DO CASE
|
DO CASE
|
||||||
CASE lnCodError = 1799 && Conversion Cancelled
|
CASE lnCodError = 1799 && Conversion Cancelled
|
||||||
|
|||||||
Reference in New Issue
Block a user