Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reserved words....
Message
De
12/11/2004 07:22:19
 
 
À
12/11/2004 07:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00960601
Message ID:
00960757
Vues:
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.

>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
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform