Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it a browse bug?
Message
De
11/06/2002 22:47:07
 
 
À
11/06/2002 08:47:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00666791
Message ID:
00667200
Vues:
15
Oh, thanks both of you. I just don't know ";" will work even in a comment. Got it now.

Power

>>If I perform the below browse codes, it will display the table A first then the table B.
>>SELECT A
>>BROWSE
>>SELECT B
>>BROWSE
>>But if I add a ";" before the second browse like:
>>SELECT A
>>BROWSE
>>***;
>>SELECT B
>>BROWSE
>>The second browse will display table A instead of B, is it a bug?
>
>No - the leading asterisk in the preceding line indicates the line is a comment; adding a ';' to the end of the line indicates that the command continues on the next line, so effectively, the SELECT B is part of a comment. The behavior is -exactly- as specified by the language; the ';' has a specific purpose in VFP.
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform