Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A doc error or misinterpretation ?
Message
From
20/04/2000 16:58:12
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00361923
Message ID:
00362038
Views:
18
>Hmmm, works that way in VFP 5.0a too. I also tried it with a MESSAGEBOX statement so it's not just with SELECT SQL.

Yeah, this was brought up on the FoxForum a while ago, I forgot who posted it in amazment.

>Inline comments that end with a semi-colon still make a comment out of the entire next line, though.
>local lcString
>lcString = "123" && this comment ends with a semi-colon ;
>lcString = "ABC" && this whole line is treated as a comment
>?lcString && prints 123

>So that hasn't changed even in VFP6 SP3.

I wish the syntax coloring would make it obvious the least.
Previous
Reply
Map
View

Click here to load this message in the networking platform