Posts: 381
Threads: 56
Joined: Apr 2022
Reputation:
13
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: 301
Threads: 16
Joined: Apr 2022
Reputation:
51
why not now? great idea for a new PE feature
Posts: 660
Threads: 142
Joined: Apr 2022
Reputation:
58
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" ?