An asterisk ('*') is the beginning of a comment. You extended that
comment to the next line by using a semicolon.
This behavior is what you should expect and is by design...
>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
>