Author Topic: Console hiding results  (Read 2238 times)

0 Members and 1 Guest are viewing this topic.

Offline fistfullofnails

  • Newbie
  • Posts: 12
    • View Profile
Console hiding results
« 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Console hiding results
« Reply #1 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?
« Last Edit: April 09, 2021, 12:04:11 am by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Console hiding results
« Reply #2 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.