News for hackers. Stuff that matters.
Re:FreeBasic by bzzzt on Friday December 22, 2023 @02:43AM (#38731921)
I've started on the ZX Spectrum too, as I recall the built-in BASIC had GO SUB and RETURN statements so you could do subroutines. It even had FOR loops.

Allowing only a single letter for string variable names was a pain though ;)

Re:FreeBasic by DeathArrow on Friday December 22, 2023 @04:42AM (#38732616)
Then I don't have a good memory of it.
Re:FreeBasic by DeathArrow on Friday December 22, 2023 @04:44AM (#38732632)
Then I don't have a good memory of it.

GO SUB line number isn't the same as using GOTO?

Re:FreeBasic by jasaldivara on Friday December 22, 2023 @07:16AM (#38733419)
With GOSUB you can use RETURN, but not with GOTO. GOSUB is for subroutines. (At least that's how it was on MS BASIC.)