QB64 Phoenix Edition
Screen 0 - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Screen 0 (/showthread.php?tid=2579)

Pages: 1 2


Screen 0 - Tim - 04-06-2024

OK, just a learner still, but could someone please tell me exactly what is screen 0 and what is its significance?


RE: Screen 0 - Pete - 04-06-2024

It's the only screen you'll ever need.

Pete

 - This thread is closed to further posts. j/k Big Grin


RE: Screen 0 - TerryRitchie - 04-06-2024

(04-06-2024, 02:54 AM)Pete Wrote: It's the only screen you'll ever need.

Pete

 - This thread is closed to further posts. j/k Big Grin
It's the only screen PETE will ever need. FTFY

It's the default text screen that QB64 (and QuickBasic) uses at start up.

PRINT "HELLO WORLD"

The window with the black background is text SCREEN 0. It only allows text, no graphics. To leave SCREEN 0 you need to initiate a graphics screen:

SCREEN 13 ' legacy 320x200 graphics screen

SCREEN _NEWIMAGE(800, 600, 32) ' modern 800x600 32bit graphics screen


RE: Screen 0 - Tim - 04-06-2024

Thank you, Pete and Terry.


RE: Screen 0 - Pete - 04-06-2024

SCREEN 0 advantages:

Pi in SCREEN 0 just tastes better.

Pete Big Grin


RE: Screen 0 - bplus - 04-06-2024

i said it once and i will say it again

https://qb64phoenix.com/forum/showthread.php?tid=2577&pid=24237#pid24237
'the only good reason to use screen 0 is for screen function'


RE: Screen 0 - TerryRitchie - 04-06-2024

(04-06-2024, 03:04 AM)Pete Wrote: SCREEN 0 advantages:

Pi in SCREEN 0 just tastes better.

Pete Big Grin
I agree, the TEXTure is much better.


RE: Screen 0 - PhilOfPerth - 04-06-2024

(04-06-2024, 03:09 AM)TerryRitchie Wrote:
(04-06-2024, 03:04 AM)Pete Wrote: SCREEN 0 advantages:

Pi in SCREEN 0 just tastes better.

Pete Big Grin
I agree, the TEXTure is much better.

If you hiv a New Zealand eccent, "better" sounds sounds like a nigative, not a positive!


RE: Screen 0 - Pete - 04-06-2024

If you have a New Zealand accent, you have my sympathies. Actually, N.Z. is a lot like my home state of California. Again, my sympathies.

Pete Big Grin


RE: Screen 0 - Tim - 04-06-2024

By the way, Terry, I implemented the code you gave me, SCREEN _NEWIMAGE(800, 600, 32) ' modern 800x600 32bit graphics screen. Very helpful. I am only on lesson 4 of the tutorial, but it still helps to be able to see the practice programs more completely than with the default.