Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getwordnum and the carriage return character
Message
De
05/08/2009 08:32:15
 
 
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:
01416174
Vues:
54
>>This is odd, to say the least. The next line prints 13, indicating that the carriage return character is the last character of the third word. It should have been 108.
>>
? asc( right( getwordnum("huppel de puppel" + chr(13)+chr(10), 3 ),1 ) )
>>Is this a bug or is it by design? Who knows more?
>
>Will you get similar result if you add it to the beginning of the phrase and check for first word, left?

No.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform