19 ms·
Home computers (and, later, certain environments for DOS) used to have you enter programs line by line in this fashion: 10 PRINT "HELLO, WORLD" 20 GOTO 10
by TazeTSchnitzel 4y ago
Home computers (and, later, certain environments for DOS) used to have you enter programs line by line in this fashion:
10 PRINT "HELLO, WORLD"
20 GOTO 10
You would add or edit a line by using appropriate numbering:
15 PRINT "HELLO EDIT"
And you could get the full program with:
LIST
Does this count as line editing?
- unsafecast 4y agoI think you'd call that line... appending? Definitely not line editing though.
- bitwize 4y agoThere were line editing features in micro BASICs though. Some early versions of Microsoft BASIC let you say EDIT 10 and be taken into an edit mode, where vaguely vi-like, but more perhaps TECO-like, keyboard commands let you change the line by inserting, deleting, swapping, etc. characters. The Commodore BASICs let you just cursor up to the line on the screen and change it, and when you hit enter the interpreter just read the screen at that line and accepted it as the new line. There were smarts in there to detect wrapped lines and accept the whole thing. Despite being more primitive it was a huge UI win, so GW-BASIC adopted this approach as well.
- unsafecast 4y agoTIL, thanks!