Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If my memory of BASIC from the 80s is still accurate, Line 5 will never get executed, because of the GOTO 1 in line 4, so not even optional.


Yeah, the OP should have numbered them 10, 20, 30, and 40, so the GP could insert a needed line in between...


I edited my post. Go wild!


Man, this is triggering more memories of programming in Basic. I remember writing programs in BASIC (as a kid/teen, mind you) where I didn't plan enough for changes and had to renumber swaths of code to allow more functionality. I was so happy to learn Pascal.




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

Search: