Posts: 474
Threads: 70
Joined: Apr 2022
Reputation:
18
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: 329
Threads: 22
Joined: Apr 2022
Reputation:
60
why not now? great idea for a new PE feature
Posts: 688
Threads: 154
Joined: Apr 2022
Reputation:
67
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" ?