4 ms·
I think this snippet is missing either ENDIF at 95 or the fact that IF ... THEN <x> ELSE <y> accepts either a single statement or a line number to go to as
by wruza 9y ago
I think this snippet is missing either ENDIF at 95 or the fact that
IF ... THEN <x> ELSE <y>
accepts either a single statement or a line number to go to as <x> and <y>. So, in dialects where ENDIF doesn’t exist at all, it was actually a bit harder than just writing or thinking WHILE-style. When I moved from ZX spectrum-clone basic to gwbasic and tbasic/qbasic, it felt much easier. (I was also more advanced by the time, so can’t tell how it changed my view on the old style.)
Edit: formatting