Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler does not catch this syntax error, bug?
Message
From
07/05/2004 16:30:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901990
Message ID:
00902091
Views:
25
David,

Yes, I must go wash my glasses. I did not notice the , after d, however I recently updated my message because at first I did not notice the missing , after filenum.

>Tore,
>
>>As far as I can see, there is no error in your code,
>
>well there are two errors in the code. 1) the missing , between b and c which won't throw an error as you explained and 2) the extra , after the d
>
>so why do you expect an error message? Are you aware that AS is not required in the field list? So VFP treats your Select command like this:
>>SELECT &lpcAlias..filenum ;
>>	&lpcAlias..a, ;
>>	&lpcAlias..b AS	&lpcAlias..c, ;
>>	&lpcAlias..d, ;
>>	FROM  &lpcAlias ;
>>	ON &lpcAlias..id = m.lpnid;
>>	INTO CURSOR curTemp NOFILTER
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform