Are the scopes of those in-function types, globals, and consts limited to within the function, too? That is, if you put a "Print maxspeed" after the "drive" call do you get an undefined error due to the Strict? (I don't yet have Max or I'd test it myself.)
If so, that'd be pretty sweet. You could just stick "Function/End Function"s around previously stand-alone programs and they could happily co-exist even if they use the same type, global, and const names.
If so, that'd be pretty sweet. You could just stick "Function/End Function"s around previously stand-alone programs and they could happily co-exist even if they use the same type, global, and const names.