Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it a browse bug?
Message
From
11/06/2002 08:47:35
 
 
To
11/06/2002 00:13:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00666791
Message ID:
00666873
Views:
11
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform