Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it a browse bug?
Message
From
11/06/2002 22:47:07
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00666791
Message ID:
00667200
Views:
14
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform