>Hi:
>
>I wanted to know if anyone knows any valid use case of the NULL code control, that corresponds to character CHR(0), within a program, as the FoxPro editor does not support this type of characters to avoid problems, but it happens that sometimes this character can leak for some rare case when modifying classes and forms in daily use and FoxPro can compile anyway, often without showing an error.
Not quite sure what you mean... a chr(0) inside a prg file or what? "Code control" sounds interesting but is content-free to me.
>I mean the NULL character within the code, not to write "CHR (0)" in it.
NULL in Fox is a special value in a variable, or a bit setting in a controlling field in a table's record, as there's no way to represent a null value otherwise in the field itself (integers and most binary numeric formats, and binary character values can use all the possible values in them, so there is no way to have a special value). Nul character (with a single l) is the ASCII NUL character, i.e. chr(0).
So... what exactly is the question, how do you find a chr(0) in your code?