Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Include (-
- [ DetectKeys key;
- key = VM_KeyChar();
- return key;
- ];
- -).
- To decide what number is Key Pressed:
- (- DetectKeys() -).
- To wait for the enter key:
- let key be Key Pressed;
- while key is not 13: [Or whichever number it was, if you make it "say key" you'll get it.]
- let key be key pressed;
- [Optionally, depending on how your code is done you can also include a
- say "Press the Enter key to continue.";
- Right at the beginning of the "to wait for the enter key" section.]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement