That explains it...by (Login qb432l)
Most BASIC languages have a lot in common, but there are just enough differences that code from one won't run in another. QB64 is the only BASIC language that will run QBasic code without modification -- plus it includes tons of other capabilities not found in any BASIC language. It will certainly run the code I posted.
Whatever you decide, good luck!