Hi Dragan:
Up to now I never found this special character on a PRG file (ascii 0 to ascii 31 are special control codes, where 0=null, 7=tab, 10=LF, 13=CR, 26=EOF, and so on), but found some on the "methods" memo field of some SCX and VCX files. As you probably know, these memo fields contains the method source code of those VFP binaries, and are compiled into another memo named "objcode" (the FXP part)
With this methods you can create a real PRG and can compile normally without warnings when a null character leaks into the source code (in example, at the end of a LPARAMETERS line) that you normally can't see with VFP editor, but can see with other editors or hex editors.
This case is known one, and is a bug, but what I am asking is if someone know a case in which this special character can be there on purpose.
You can emulate this case with something like this:
strtofile( "LPARAMETERS aa,bb,cc" + chr(0), "my_prog.prg" )
COMPILE my_prog
0 errors
Fernando D. Bozzo
Madrid / Spain