Questions

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Changing the question prompt
    To change the question prompt, we set the variable "current prompt" to the text that we want:
        Now current question is "How old are you?";
        Now the current prompt is "Enter a number between 5 and 111: >"
        Ask a closed question, in number mode.
    If we set the current prompt to "", the relevant default prompt outlined above will be used.