Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a bug or normal VFP behavior?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00610105
Message ID:
00610119
Vues:
21
It is so if you have a large statement,
eg
Select * ;
   From MyTable ;
   Where X = Y ;
   AND Y = Z ;
   GROUP BY X ;
   ORDER BY X ;
   INTO CURSOR C_Temp
you can comment it out with a single * in front of the first line.
Unfortunatley the syntax coloring does not pick this up, and hence does not mark all the lines as being comments. They get picked up by the compiler though.



>Hi all,
>
>I am wondering if this is VFP bug. I have VFP7 with VFPCOM & SP1 installed.
>Notice the commented line in the code. If there is a semicolon at the end
>of the comment; the SELECT Y command will fail. If you remove the semicolon
>at the end of the comment; the SELECT Y will NOT fail.
>
>
>close databases all
>create cursor x (fld c(1))
>
>* select * from x ;
>select * from x ;
>	into cursor y
>
>select y
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform