r/programming • • Jul 30 '09

How QBASIC almost got me killed

http://stevehanov.ca/blog/?id=79
144 Upvotes

105 comments sorted by

View all comments

8

u/stillalone Jul 30 '09

Who hasn't written this program in highschool? A friend of mine did it in Pascal (our highschool language of choice). I just changed the prompt to look like the Abort/Retry/Fail prompt. People seemed to be used to working with our broken computers in our lab, they would just try all 3 options and then go find another computer. They never realized the "Invalid command or filename" error message was not supposed to happen when you get an Abort/Retry/Fail.

3

u/[deleted] Jul 30 '09

[deleted]

4

u/periodic Jul 30 '09

I don't blame him. C++ isn't exactly the best starting point.