Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Perplexing Issue
#4
(08-03-2023, 05:13 PM)NakedApe Wrote:
(08-03-2023, 04:53 PM)TerryRitchie Wrote: My first guess is that you may have a _DISPLAY statement somewhere else in your code affecting screen output. Try placing an _AUTODISPLAY command where you have INPUT n. If this is the case then the INPUT statement is somehow over-riding this and may need to be looked into (a bug?).
Brilliant. I shoulda figured that out... Thanks, Terry! That was the issue. _AUTODISPLAY fixed it, so _DISPLAY may have an issue with INPUT.

Thanks again.  Smile
Happy I could help Smile

This same thing happens to me every time I write a new game. At some point I lose track of where _DISPLAY is controlling screen output and eventually expected screen updates don't happen. 99% of the time when output acts strange or doesn't happen when expected I always start with tracing my _DISPLAY and _AUTODISPLAY statements. _DEST can also be another reason for unexpected output, with the output going to a different image canvas than expected. If my _DISPLAY statements look fine then I starting tracing _DEST and _SOURCE.

I was thinking about INPUT and how it was affecting your output. After some thought I suppose it makes sense that INPUT would force a _DISPLAY otherwise the user would never see the input prompt. Perhaps not a bug but intended?
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
A Perplexing Issue - by NakedApe - 08-03-2023, 03:47 PM
RE: A Perplexing Issue - by TerryRitchie - 08-03-2023, 04:53 PM
RE: A Perplexing Issue - by NakedApe - 08-03-2023, 05:13 PM
RE: A Perplexing Issue - by TerryRitchie - 08-03-2023, 05:52 PM
RE: A Perplexing Issue - by NakedApe - 08-03-2023, 06:06 PM
RE: A Perplexing Issue - by OldMoses - 08-04-2023, 06:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  keyboard issue ? SHIFT + TAB not detected (linux) Herve 13 1,765 08-27-2025, 09:47 AM
Last Post: Herve
  OpenGL Lighting Issue aadityap0901 11 1,994 10-02-2024, 12:57 PM
Last Post: aadityap0901
  Another Mouse Issue? NakedApe 17 2,835 05-02-2024, 03:16 AM
Last Post: NakedApe
  HELP! I find an issue using _DEVICES! TempodiBasic 10 1,860 05-02-2023, 09:57 AM
Last Post: TempodiBasic
  Having screen blinking issue using Hardware Images Dav 4 1,071 12-14-2022, 11:57 PM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)