Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reserved words....
Message
From
12/11/2004 09:05:19
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960601
Message ID:
00960798
Views:
8
>>>Look in the index for "reserved words" and you'll see that it's not mentioned over there. And my example makes clear that Fabio's code works out the same with any other variable name too.
>>
>>Right, and you've never come across any omissions in the VFP documentation? < s >
>>
>>cheers
>
>Can a letter be a word? In Dutch... can't think of any. In English, I guess so: I a :)

Yep, you got the two that come to my mind.
In the Reserved Words list you *do* find each of A - J. Odd that they omitted "M".

cheers

>>
>>>
>>>>Isn't "m" a reserved word?
>>>>
>>>>cheers
>>>>
>>>>>>>Can anyone give me some examples where using a reserved word for a field name or variable causes problems?
>>>>>>
>>>>>>
>>>>>>m=5
>>>>>>CREATE CURSOR m (m i)
>>>>>>? m,m.m
>>>>>>SELECT 0
>>>>>>? m,m.m
>>>>>>USE
>>>>>>
>>>>>
>>>>>Fabio, aren't you missing the point? Victor is referring to reserved words, not to 'variables'.
>>>>>
>>>>>
sdsm=5
>>>>>CREATE CURSOR m (sdsm i)
>>>>>? sdsm,m.sdsm
>>>>>SELECT 0
>>>>>? sdsm,m.sdsm
>>>>>USE
Previous
Reply
Map
View

Click here to load this message in the networking platform