Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
&& within string gives error
Message
De
07/01/2002 15:48:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
&& within string gives error
Divers
Thread ID:
00601634
Message ID:
00601634
Vues:
95
I never tried it but today I had to include && within a string such as this:
lcMyCondition='window.parent.Dashboard.OnlineHeader && window.parent.Dashboard.Online'
To my surprise, this gives an error. I have to do:
lcMyCondition='window.parent.Dashboard.OnlineHeader '+CHR(38)+CHR(38)+' window.parent.Dashboard.Online'
I thought that Visual FoxPro was smart enough to detect that && was within a string and not use it as a comment.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform