Hacker News new | ask | show | jobs
by vunderba 9 days ago
I've actually been working on what I consider to be the most historically accurate online simulator for QBASIC and QuickBasic 4.5 for the last six months.

This one is not bad (the built-in help is a good hat tip to the original) but it unfortunately suffers similar problems I've seen among other online attempts such as:

• https://kavak.run/studio

• https://webqb.org

• https://qbjs.org

Simple print statements involving USING seem to throw errors.

  X& = 1000000: Y! = 3.141592
  PRINT " X ="; X&; " Y ="; USING "###.0"; Y!;
It even allows variables that would have exploded with overflows.

  X& = 2147483647
  A! = X + 1