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

Sure. You should know what a for loop is and recognize it. LET X = X + 1 should immediately tell you how they assign values to variables. GOTO 01410 should be obvious that it's going to that line. Math and comparison operators are the same as most languages. 00001 REM (C) 1977-2014 RICHARD GARRIOTT should immediately show that REM is some kind of code comment unless you're insane enough to think the language is going to execute a copyright statement that's preceded by a mysterious 'REM'. READ in a 1 to 7 loop seems to correspond to the dnd stat attributes in the DATA statement above it. Then there's another READ, with 2 variables, in a loop from 1 to 15, which seems to correspond to the 30 other variables in the previous data statement. etc. I have seen BASIC before, though.


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

Search: