Useful Functions

version 1 by ShadowChaser

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - Keypress

    To decide what number is the key_pressed:
        let keypress be 0;
        while keypress is 0 begin;
            let keypress be the chosen letter;
        end while;
        decide on the keypress.

    To decide what number is the key_pressed_with_question (question - some text):
        say "[question][line break]";
        decide on the key_pressed.