>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only