Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement