Bug in BlitzPlus -waitkey???

BlitzPlus Forums/BlitzPlus Programming/Bug in BlitzPlus -waitkey???

Mr_Plant(Posted 2003) [#1]
I am trying to run the following code in BlitzPlus 1.35

; ExecFile sample - RUN THIS WINDOWED!
; Win9x users will need to change location of calc.exe

filename$="c:\winnt\system32\calc.exe"

Print "Press any key to run CALC.EXE!"

WaitKey()

ExecFile(filename$)

Print "Press any key to quit."

WaitKey()



This is the example from the help file - it hangs!
The same is true of an old program I am trying to get working - it hangs at the waitkey part as well

Any ideas anyone??


Mr_Plant(Posted 2003) [#2]
even this two line program hangs:


Print "Press any key to quit."

WaitKey()


skidracer(Posted 2003) [#3]
BlitzPlus's new console mode is still a bit of a problem compatability wise.

Currently you will have to use something like
Input "Hit Return to continue"


as commands like WaitKey and MouseWait are not supported in "console" mode.