Re:Show HN: Space Shooter in QBasic
by versteegen on Tuesday February 02, 2016 @01:20PM
(#11021240)
This code didn't DIM some of those arrays at all, and others were DIMed as integers instead of integer arrays! IIRC QB allows variables with different types to have exactly the same name, so I guess that's equivalent to not DIMing any of them.
I think I might remember something about a default size for undeclared arrays...
But it is so long time ago and I never really used QBasic, by the time it came out I was already into Turbo Pascal, leaving Turbo Basic behind.
I did however spend long evenings trying to understand it, as QBasic was one of the first languages I tried to implement a compiler for.