Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with character sting containing '&&'
Message
De
22/04/2003 12:00:29
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
22/04/2003 11:21:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00780155
Message ID:
00780183
Vues:
11
>>Hi All,
>>
>>I am using VFP7 SP1 and am having a problem creating a character sting variable that contains two ampersand characters.
>>
>>If I do the following from the command window, I get an error "Command contains unrecognized phrase/keyword"
>>
>>
>>lcText = "something && test"
>>
>>
>>Anyone know how to avoid this?
>>
>>TIA
>>
>>Mike

>
>One way to do it:
>
>lcText = "something " + Chr(38) + Chr(38) + " test"
>
Thanks for the suggestion Alex. Sergey posted his solution before you so I had to give him the points.

Regards,

Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform