Archivo plano
Buenos Dias, estoy tratando de crear un archivo plano, se que se puede hacer con un copy to base.txt type sdf, pero tambien estoy utilizando la siguiente instruccion:
IF FILE('errors.txt') && Does file exist?
gnErrFile = FOPEN('errors.txt',12)
ELSE
gnErrFile = FCREATE('errors.txt')
ENDIF
IF gnErrFile < 0 && Check for error opening file
WAIT 'Cannot open or create output file' WINDOW NOWAIT
ELSE=FWRITE(gnErrFile , 'Error information to be written here')
*=FWRITE(gnErrFile ,2, '___Error information to be written here')
ENDIF
=FCLOSE(gnErrFile ) && Close file
IF gnErrFile > 0
MODIFY FILE errors.txt NOWAIT && Open file in edit window
ENDIF
Bueno, lo que kiero hacer,e s k me imprima una linea y despues otra linea, por ejemplo:
"1",55,443,3
"2",55,433,12
etc
etc
como puedo darle el salto de linea :S???
Podrian ayudarme ???
se los agradeceria :)...
IF FILE('errors.txt') && Does file exist?
gnErrFile = FOPEN('errors.txt',12)
ELSE
gnErrFile = FCREATE('errors.txt')
ENDIF
IF gnErrFile < 0 && Check for error opening file
WAIT 'Cannot open or create output file' WINDOW NOWAIT
ELSE=FWRITE(gnErrFile , 'Error information to be written here')
*=FWRITE(gnErrFile ,2, '___Error information to be written here')
ENDIF
=FCLOSE(gnErrFile ) && Close file
IF gnErrFile > 0
MODIFY FILE errors.txt NOWAIT && Open file in edit window
ENDIF
Bueno, lo que kiero hacer,e s k me imprima una linea y despues otra linea, por ejemplo:
"1",55,443,3
"2",55,433,12
etc
etc
como puedo darle el salto de linea :S???
Podrian ayudarme ???
se los agradeceria :)...
