Two simple commands.
Author |
Message |
doow
|
Posted: 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! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
saltpro15
![](http://compsci.ca/v3/uploads/user_avatars/9776171634ced6278d14c2.png)
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
|
|