Computer Science Canada

Two simple commands.

Author:  doow [ Tue Jan 20, 2009 8:42 pm ]
Post subject:  Two simple commands.

I have to use the commands hasch and getch in the program that I made...and I was wondering if anyone knew what, basically the definition of them are.

Thanks!

Author:  saltpro15 [ Tue Jan 20, 2009 9:02 pm ]
Post subject:  RE:Two simple commands.

hasch just detects keyboard input, the syntax looks like this

Turing:

loop
put " hit any key to continue"
if hasch then
exit
end if
end loop


getch is just a get where the user doesn't have to hit the enter key, it justs automatically gets the input once you stop typing


: