Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
New to QB64pe? Visit the QB64 tutorial to get started.
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac print #file crlf? BlameTroi 5 342 02-16-2026, 08:42 PM
Last Post: BlameTroi
  Print strings with accents and special chars Ikerkaz 8 711 12-20-2025, 09:28 PM
Last Post: TempodiBasic
  blue circle isn't drawing and print isn't working? madscijr 12 2,351 09-21-2024, 06:13 PM
Last Post: madscijr
  Assign print using to a string. eoredson 10 1,970 04-02-2024, 02:56 AM
Last Post: SMcNeill
  Print Using? james2464 42 7,736 11-04-2022, 03:47 PM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: 1 Guest(s)