Bug #425
Wait Key Amiga manifest mode.
0%
Description
Previously to the latest version 9.9.4 v1, if you say had print statements, and then a wait key command after them, it would then wait at the end of the print statements for you to press a key as it should.
But now in 9.9.4 v1, unless you put also another wait key command at the top of the print statements as well this does not work.
Updated by Brian Flanagan over 3 years ago
- Status changed from New to Feedback
I'm not seeing this. I tried the following program which worked fine in both "aoz" and "amiga" manifests.
Print "This is a test." Wait Key Print "This is another test." Wait Key Print "Final print."
Can you provide an example where Wait Key does NOT work in the Amiga manifest?
Updated by malcolm harvey over 3 years ago
Ok..this is in amiga mode...
Without the top also waitkey below or un remarked it goes straight through.
Previous to this version, every other one also before it, it waited always with only the
bottom wait key command.
..............
#manifest:"amiga"
#speed:"safe"
#tvStandard:"pal"
#displayWidth:640
#displayHeight:512
#fullPage:true
#fullScreen:true
#keepProportions:false
#fps:false
do
gosub chkkey
loop
chkkey:
cls 0
//wait key
print ""
print ""
print ""
print ""
print "Your scoret is,..",scorevalue,"out of 500"
print ""
print ""
print ""
print "Press ..."
wait key
print ""
print ""
print ""
print ""
return
Updated by Brian Flanagan over 3 years ago
- Status changed from Feedback to Resolved
- Assignee changed from AOZ Studio Team to Brian Flanagan
Your program works here in both the aoz and amiga manifests.
Both Wait Key work if enabled. One Wait Key works if one is commented.
You're just missing a command to increment the scorevalue.
Just before the return, insert the line:
scorevalue=scorevalue+1
Updated by malcolm harvey over 3 years ago
Yeah, That was just an example actually of a print (Scorevalue), just ignore the score value there, in by accident.
Oh well, Ill tst the waitkey again, im assuming its in the new build tho that this works with the waitkey then.
From what I can see though again, if you had print "" statements before the wait key it then would not work, anyways Ill tst it again.