Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strict typing...
Message
 
To
14/11/2001 02:11:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581332
Message ID:
00581413
Views:
20
>Is it possible to force VFP to strictly type variables and properties...for instance I can do this:
>
>local xyz as number
>
>xyz=""
>
>and it retains the string. I have to say that I would rather it gave me an error, preferably at design time.

There is no strict typing in variable
i suggest that you adhere to a naming convention
to help you know the type of variable.

ie:
nXyz=25
cXyz="abc"
lXyz=.T.
dXyz={^2001/05/24}
...

HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform