Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Framework Problems
Message
 
To
13/04/1998 09:52:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00091327
Message ID:
00091557
Views:
18
>>2. We are using the VMF unique IDs which roll over from numeric to character at 99999. Under certain circumstances, we found a problem with several of the symbols used. In a 2-column list populated with 'additem()' and 'This.list(n,2)' we found that the 'list(n,2)' code was truncating the ID code. The first occurrence was an ID '##$\\' and the second '\' was truncated. Of course, the 'seek' on the incorrect ID code led to some strange data anomalies :-((
>
>All the characters are equal. Some characters are more equal.
>
>My list of characters to avoid includes pipe (|), (see yesterday's thread on Append ...Delimited with "|"), backquote (` - chr(96)) because it's sometimes used to prefix a control character, braces ({}) because they are treated as beginning of a special character or key description (like in Keyboard and ??? statements) and generally get misinterpreted in .rtf, backslash because it's C, C++ and .rtf sensitive, white space because the code gets split into words by any parser, hyphen for the same reason, +/ may serve sometimes but then... well, to play sure, just digits, letters and underscores... though underscore ain't safe either - it's used some weird way to denote the period between the object name and its method in VB. Play safe :)

VMF removed all of the 'difficult' characters you mentioned, Dragan: Pipe, backquote, braces, and a few others. The backslash ONLY caused trouble when used in the additem/list combination, but it sure messed up the data!
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform