Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of && in file and message problem
Message
 
To
17/07/1998 12:23:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00118676
Message ID:
00118682
Views:
20
>Hi,
> I had problem using vfp5.0 with code like the two shown below
>
>1. -> DELETE FILE 'Test.&&'
>2. -> DO FROM frmDisplay WITH 'This file name is '+lcFileName+'.&&'
>
>The compiler keep pointing that I had missing '
>like -> 'Test. and 'lcFileName+'.
>All character after the && is taken to be comment. How do I overcome this problem. Thank you.

Try substituting your literal "&&" with REPLICATE(CHR(38),2).
Previous
Reply
Map
View

Click here to load this message in the networking platform