Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getwordnum and the carriage return character
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01416171
Message ID:
01416182
Views:
57
>Yes, that's a 'funny' finding. The VFP7 help says: The default delimiters are space, tab, and carriage return.
>
>The VFP9 help says: The default delimiters are space, tab, carriage return, and line feed.
>
>The Hacker's guide for VFP7 says: Words are separated by space, tab (CHR(9)) and linefeed (CHR(10)).
>
>It appears that the Hacker's Guide is the only one that is right. Perhaps someone got instructions to repair the documentation error. Instead of replacing 'carriage return' by 'line feed' this person has added 'and line feed'.

You're right. Carriage Return seems to not be the delimiter. Interesting finding.

? asc( right( getwordnum("huppel de puppel" + chr(13)+chr(10), 3 ),1 ) )
? asc( right( getwordnum("huppel de puppel" + chr(10), 3 ),1 ) )
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform