Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
&& within string gives error
Message
From
07/01/2002 19:49:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00601634
Message ID:
00601753
Views:
28
Jim,

>Jim,
>
>With the && not I don't think there is any issue. However with the & macro expansion there very well may be code out there that expects;
>
>
>lcStr = "ABC"
>
>? "Here is the first three letters in the alphabet &lcStr"
>
>
>prints: Here is the first three letters in the alphabet ABC

That's the way I see it too. I must admit that it was by accident that I found that macro expansion worked within constants, and have used it a couple of times to advantage.

Cheers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform