input.tfile | source file |
Classes Summary | Objects Summary | Functions Summary Details |
TADS 3 Library: input
This modules defines functions and objects related to reading input from the player.
BasicInputDef
EndOfFileException
InputDef
QuittingException
StringPreParser
readMainCommand
readMainCommandTokens
readMainCommand (which) | input.t[797] |
We process any pending real-time events before reading the command. If the local platform supports real-time command-line interruptions, we'll continue processing real-time events as they occur in the course of command editing.
readMainCommandTokens (which) | input.t[1049] |
'which' is one of the rmcXxx enum values specifying what kind of command line we're reading.
The return value is a list of two elements. The first element is the string entered, and the second element is the token list.