Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
&& within string gives error
Message
From
07/01/2002 15:48:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
&& within string gives error
Miscellaneous
Thread ID:
00601634
Message ID:
00601634
Views:
98
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
Next
Reply
Map
View

Click here to load this message in the networking platform