Questions
version 4 by Michael Callaghan
Version 4 of Questions by Michael Callaghan begins here.
"An extension to allow us to suspend normal parser input to receive and respond to answers to questions."
- Chapter 1 - Global provisions for asking questions
- Section 1 - Variables for asking questions
- Section 2 - Default command line prompts for asking questions
- Section 3 - Flag to determine if the question is open or closed
- Section 4 - Phrase used to ask questions in closed mode
- Section 5 - Phrase used to ask questions in open mode
- Chapter 2 - Questions that require a number answer
- Section 1 - Flag to set number question mode
- Section 2 - Action for number questions
- Section 3 - Rules for number questions
- Section 4 - Processing number questions
- Section 5 - To deactivate number question mode
- Chapter 3 - Questions that require an answer from a menu
- Section 1 - Flag to set menu question mode
- Section 2 - Action for menu questions
- Section 3 - Rules for menu questions
- Section 4 - Processing menu questions
- Section 5 - To deactivate menu question mode
- Chapter 4 - Questions that require a yes/no answer
- Section 1 - Flag to set yes/no question mode
- Section 2 - Value for use with yes/no questions
- Section 3 - Action for yes/no questions
- Section 4 - Rules for yes/no questions
- Section 5 - Processing yes/no questions
- Section 6 - To deactivate yes/no question mode
- Chapter 5 - Questions that require a gender answer
- Section 1 - Flag to set gender question mode
- Section 2 - Value for use with gender questions
- Section 3 - Action for gender questions
- Section 4 - Rules for gender questions
- Section 5 - Processing gender questions
- Section 6 - To deactivate gender question mode
- Chapter 6 - Questions that require a text answer
- Section 1 - Flag to set text question mode
- Section 2 - Action for text questions
- Section 3 - Rules for text questions
- Section 4 - Processing text questions
- Section 5 - To deactivate text question mode
- Chapter 7 - Real number question mode (for use with Fixed Point Maths by Michael Callaghan)
- Section 1 - Default command line prompts for real numbers
- Section 2 - Phrase to ask a real number question in closed mode
- Section 3 - Phrase to ask a real number question in open mode
- Section 4 - Flag for real number question mode
- Section 5 - Action for real number questions
- Section 6 - Answer form for real numbers
- Section 7 - Rules for real number questions
- Section 7 - Processing real number questions
- Section 8 - To deactivate real number question mode
- Chapter 8 - To decide if we are in question mode