Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wishlist???
Message
From
10/09/1999 22:55:50
 
 
To
07/09/1999 07:44:12
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00260725
Message ID:
00263596
Views:
43
>>I'm surprised that you want strict typing. I've programmed in C, C++ and I really felt that it was just a pain in the butt. VFP becoming strict type, it loses the charm of the xBase languages. But O.k. I agree to disagree.
>
>Isn't that familiar?
>LOCAL MyVar
>MVar = .T.
>...
>IF MyVar
>*-- Will not execute due to a syntax error in the assignment
>ENDIF
>
>I will gladly accept a Option Explicit type like in VB.

>

And again, it would be an option so if
it doesn't suit you to use it, don't. The problem
above is bad enough, but I'm constantly working
with "legacy" code which has subtle bugs
introduced by a routine inadvertently changing the
value of an undeclared variable.

Also, doesn't "strict typing" refer to declaring
the "type" of data being stored in a variable
as opposed to simply scoping it?

...kt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform