Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare a cursor?
Message
De
23/12/1999 15:30:27
 
 
À
23/12/1999 15:25:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308067
Message ID:
00308189
Vues:
42
>Ed,
>
>>>>>can you start a cursor name w/ a numeric value?
>>>>
>>>>Nope, or form properties/methods and object names, or field names.
>>>
>>>It's a FP limitation. You MUST start from letter. Try this:
>>>
>>
>>or an _
>
>You can use _, but it's mostly for system variables, like _mline or _tally.

>Huh? Where did it ever say that in any of the VFP docs? It may be a naming >standards decision for your development group, but it's always been an >acceptable prefix for fields as long as name collisions don't occur.

That is exactly right. There's nothing in VFP stopping you from doing it, or even suggesting that you shouldn't. But I have heard in the past (mainly from my schooling in C++) that I should only use _ to start a variable name for system variables. However, I haven't heard of anything in ANY language that makes this a manditory restriction

Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform