This is a repository that is used for demonstration purposes only.
It exists only temporarily!
Basic communication tools for the session, mainly used by user commands and test cases.
Comes with these functions and operators:
YesOrNo
for asking questions like "Are you sure?"Select
for letting the user choose from a set of optionsPause
for printing a message to the session and asking the user to press <enter>
to continueAskForNumber
for stuff like "Number of copies"AskForText
for stuff like "Enter your name"These functions and operators have three features in common:
∘∘∘
They can be automated by setting certain variables within the CommTools
namespace
This allows you to automate tests that would otherwise require a human to interact with.
AskForNumber
and AskForText
are operators that require a check function as the left operand. They allow checking the input and rejecting or accepting it.
You may ask for detailed documentation with
]ADoc #.CommTools