Posts: 404
Threads: 58
Joined: Apr 2022
Reputation:
14
Was there a time in Basic when IF was simply followed by a Print statement? Seems to me I did see some code like :
If A Print "...." but the wiki indicates the only time an IF condition is not followed by THEN is the use of GOTO.
Posts: 310
Threads: 19
Joined: Apr 2022
Reputation:
58
why not now? great idea for a new PE feature
Posts: 672
Threads: 146
Joined: Apr 2022
Reputation:
65
I recall a version of BASIC that was once just :
IF condition <line number>
Because the only thing IF was used for was branching but the utility of IF condition Print just seems unnecessary because IF condition THEN <almost any other code> works fine.
okay not completely related but does anyone recall why "?" was used as a shorthand for print? It seems like a great shorthand for Input but baffling for print. Is it just because "?" look a little like "P" ?