Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffer overrun
Message
From
26/10/2011 16:56:53
 
 
To
26/10/2011 04:41:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01527390
Message ID:
01527441
Views:
163
Out of curiosity I made a few minor modifications so that your example would run in VFP6 to see what would happen. I don't get the error in VFP6 (the modified program will give the error as before in VFP9). I do not have VFP8 to test to see if problem occurs in VFP8.

The only other significance I can think of with ampersands would be with macro expansion -- though behavior in VFP6 doesn't seem to indicate anything happening with macros being evaluated. The thing about 254 characters does seem interesting -- it's one character shy of maximum length of "pascal-style" strings (where a single byte is used for length) -- which happens to be the longest C-style string you'd be able to encode within a pascal-style string.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform