Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare a cursor?
Message
From
23/12/1999 15:30:27
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00308067
Message ID:
00308189
Views:
43
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform