Could someone please explain why this fails?!
I NEVER selected the first case... so why did it assign This to that type? I chose case 2 so should that not omit the first case? Just try to run this code and you'll get a variable type mismatch. Does blitz throw pointers to types even if you dont call them?!!?!?
Any help or ideas around this would be great.. sorry im just at a loss here and going insane.
Thanks,
Scott
Type Type1 End Type Type Type2 End Type typetype = 2 Select typetype Case 1 This.Type1 = New Type1 Case 2 This.Type2 = New Type2 End Select
I NEVER selected the first case... so why did it assign This to that type? I chose case 2 so should that not omit the first case? Just try to run this code and you'll get a variable type mismatch. Does blitz throw pointers to types even if you dont call them?!!?!?
Any help or ideas around this would be great.. sorry im just at a loss here and going insane.
Thanks,
Scott