Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getwordnum and the carriage return character
Message
 
 
À
05/08/2009 09:00:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01416171
Message ID:
01416182
Vues:
56
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform