4 ms·
Do you remember if GOSUB <label> or GOTO <line number> can take the contents of a variable as an input? If so, then higher-order functions seem possible. Edit
by GlennS 9y ago
Do you remember if GOSUB <label> or GOTO <line number> can take the contents of a variable as an input?
If so, then higher-order functions seem possible.
Edit: it looks like in at least some versions of basic you can do:
ON switching_variable GOSUB first_label, second_label, third_label, ...