this post was submitted on 14 Jun 2023
45 points (94.1% liked)

Linux Gaming

15506 readers
1025 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
45
submitted 2 years ago* (last edited 2 years ago) by monolalia to c/linux_gaming
 

This is not really a thing yet.

^(Edit: I think it is now.)^

Hoo boy; we have all sorts of formatting options here!

10 print "goto 10";
20 hello world!

spoiler(Personally, I liked to spell it GO TO wherever it’d let me)

you are viewing a single comment's thread
view the rest of the comments
[–] scutiger 1 points 2 years ago (1 children)

Languages that used line numbers didn't use semicolons to mark the end of a statement.

Also, this program would just say "goto 10" and then would popup an error because "hello world!" is not a statement.

But I'm just being silly.

[–] monolalia 3 points 2 years ago

Jumbling up that bit of rote code was the joke! But the semicolon isn’t supposed to end the line; it tells BASIC to suppress the newline after the print statement. Makes for a better endlessly scrolling text experience ;)