Closed richardpawson closed 1 week ago
Press any key to continue... is a common requirement in early programming. Currently you need to write e.g.:
Press any key to continue...
let k be inputString("Press Enter to continue")
which is awkward because:
k
Enter
input
So with this method you just write e.g.
print "Press any key to continue...` call waitForAnyKey()
Implement and working (as part, originally, of #849) - but needs tests and documentation still.
Press any key to continue...
is a common requirement in early programming. Currently you need to write e.g.:let k be inputString("Press Enter to continue")
which is awkward because:
k
is never usedEnter
because it is aninput
statement - any other key would need to be followed byEnter
So with this method you just write e.g.