Posts: 210
Threads: 25
Joined: Apr 2022
Reputation:
5
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: 224
Threads: 7
Joined: Apr 2022
Reputation:
14
why not now? great idea for a new PE feature
Posts: 545
Threads: 116
Joined: Apr 2022
Reputation:
39
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" ?