Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid case of NULL character inside programs?
Message
From
05/07/2014 17:59:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/07/2014 15:33:40
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01603246
Message ID:
01603259
Views:
58
>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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform