Is KEYWAIT broken?

Previous topic - Next topic

UBERmonkeybot

This doesn't work on my windows 7 system,It used to.

PRINT "Hit me", 100, 100
SHOWSCREEN
KEYWAIT
PRINT "OK", 100, 100
SHOWSCREEN
KEYWAIT

It's from the manual.

erico

#1
Works fine on my win 7, what is happening on your end?

edit: my current glb is 14.106, so it could be it.

UBERmonkeybot


UBERmonkeybot

#3
I have reinstalled GBL 14.371,It still doesn't work.

really weird.

It just doesn't seem to be reading the keyhit.

After i press a key i cannot quit the  program with the window close icon and it crashes whereas this works as normal before i press a key.



Qedo

Confirm, also on my computer with GLB 14.371 KEYWAIT don't work.
ciao
Qedo

Qedo

Update,
in GLBasic version 11.559   & 12.656  KEYWAIT work!

UBERmonkeybot

Thanks for the back up Quedo.Nice to know i haven't gone mad or are being stupid etc etc. :good:

spacefractal

KEYWAIT if you aske me, its some such of a debug command, that should not been used in a normal code, but more when doing debug thing. Its can halt the app in a unconsern way, mostly on mobiles.

But you can do easy workaround the issue by using KEY() events in a function. Im do not checked the issue yet.

But hopefully this debug command is got fixed, its can been handy in some cases of course (im even used it my self in that way me thinks).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

UBERmonkeybot

Yeah SF i only use it for quick code checks but just thought i should mention it,Odd that is ok on some systems
.

erico

It was ok my system with glb14.106.
Havent checked the latest yet

Kitty Hello

Fixed in V15. Sorry for that.