Hacker News new | past | comments | ask | show | jobs | submit login

This was legal in BASIC from the very first versions of the language:

   IF a=1 THEN 200
and when they added ON..GOTO, they basically made these two mirrored syntactically. So you could do:

   IF a=1 GOTO 200

   ON a THEN 100,200,300
(I suspect it was simply treated as identical token?)



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: