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.