21
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

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
[-] [email protected] 1 points 1 year ago

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.

[-] [email protected] 2 points 1 year 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 ;)

this post was submitted on 14 Jun 2023
21 points (92.0% liked)

Linux Gaming

14330 readers
61 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 1 year ago
MODERATORS