QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: fistfullofnails on April 08, 2021, 10:46:31 pm

Title: Console hiding results
Post by: fistfullofnails on April 08, 2021, 10:46:31 pm
I’m running the newest version on Windows 10.  I’m doing Terry Ritchie’s game programming tutorial, and I notice when output such as a counter running past 25 lines is shown in the console, that the first part of the output gets hidden due to scrolling down.  I cannot seem to expand the console window itself.  And of course when i press any key, it closes the console.
Title: Re: Console hiding results
Post by: bplus on April 09, 2021, 12:02:39 am
I think if you are really using console you could scroll back up screen. But that is surprising to find in early part of tut. If you just have a default screen (25 lines) you can't scroll back. Could you show code you are testing?
Title: Re: Console hiding results
Post by: bplus on April 09, 2021, 12:12:41 am
Yeah the real console does scroll:
Code: QB64: [Select]
  1. _Console Off 'close original console
  2. _Console On 'place console above program window
  3.  
  4. For i = 1 To 50
  5.     Print i
  6.  
  7.  
  8.