Amigos al hacer esto:
oPrn:=TDosPrn():New( "ARCHIVO.TXT" )
oPrn:Say(1,1,"HOLA;QUE TAL" )
oPrn:End()
el resultado es HOLA;QUE TAL y (al final me aparece un cuadradito)
CREAR ARCHIVO DE TEXTO
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CREAR ARCHIVO DE TEXTO
Jose,
Edita el fichero de texto con un editor hexadecimal y comprueba que byte tiene al final
Edita el fichero de texto con un editor hexadecimal y comprueba que byte tiene al final
Re: CREAR ARCHIVO DE TEXTO
Yo lo hago asi:
Code: Select all
cFileTxt := "texto.txt"
nHandle:= FCREATE( cFileTxt )
FWRITE(nHandle, "HOLA;QUE TAL")
FCLOSE(nHandle)
WinExec("NotePad.exe "+cFileTxt)
Cesar Cortes Cruz
SysCtrl Software
Mexico
' Sin +- FWH es mejor "
SysCtrl Software
Mexico
' Sin +- FWH es mejor "