If Print
#2
(03-03-2023, 06:33 PM)Dimster Wrote: 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.

I just fired up my 386DX40 and Tandy 1000 HX and tried it with both GWBasic and Tandy Basic 2.02. Neither would accept that type of statement. Had to include THEN.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
If Print - by Dimster - 03-03-2023, 06:33 PM
RE: If Print - by TerryRitchie - 03-03-2023, 06:45 PM
RE: If Print - by vince - 03-03-2023, 06:48 PM
RE: If Print - by Petr - 03-03-2023, 07:04 PM
RE: If Print - by CharlieJV - 03-03-2023, 07:43 PM
RE: If Print - by James D Jarvis - 03-03-2023, 08:15 PM
RE: If Print - by TerryRitchie - 03-03-2023, 09:50 PM
RE: If Print - by SMcNeill - 03-04-2023, 12:06 AM
RE: If Print - by James D Jarvis - 03-04-2023, 01:35 AM
RE: If Print - by SMcNeill - 03-04-2023, 05:07 AM
RE: If Print - by Dimster - 03-04-2023, 01:50 PM
RE: If Print - by James D Jarvis - 03-06-2023, 05:07 PM
RE: If Print - by mnrvovrfc - 03-04-2023, 02:47 PM
RE: If Print - by TerryRitchie - 03-04-2023, 06:05 PM



Users browsing this thread: 5 Guest(s)