Were there any home computers before 1985, on which you could create a loop (finite or infinite) in direct-mode?
And if it was possible on some machines, what may it have been useful for? For example, some sort of program loader from tape or disk.
For example, by typing
PRINT "TEXT" : RUN
or
PRINT "TEXT" : GOTO 0
so that it would loop the printing of "TEXT", just as an example.
EDIT - Since I am completely blocked ( due to some unknown problem ) from commenting and now also from posting any answers, I just want to add that it seems that you can use a pre-user-defined function in direct-mode, by first defining the function in a program using line numbers ( e.g. 10 DEF FNADD(X,Y)=X+y ) and then using it in direct-mode, so then trying to do a recursion trick like FNADD(FNADD(X,Y),Y), to try and cause an infinite loop using recursion, would be interesting, and I wonder why pre-user-defined functions can be accessed through direct-mode .
GOTO X
would always jump to that line in the current program (essentially a RUN without clearing variables or unDIMing arrays)--and this might be something you really wanted to do if you stopped your program (either with BREAK key or STOP statement) and then didn't want to CONT at the breakpoint. Many BASICs allowed a line number0
. One use of FOR/NEXT in direct mode is outputting the contents of an array for debugging.