Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Perplexing Issue
#5
(08-03-2023, 05:52 PM)TerryRitchie Wrote:
(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?
Re: INPUT forcing _DISPLAY, I'm glad it works that way - otherwise I would've gone totally crazy. In hindsight I'd say it's intentional bwdik!
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



Users browsing this thread: 1 Guest(s)