console.tfile | source file |
Classes Summary | Objects Summary | Functions Summary Details |
TADS 3 Library - console input/output manager
This module defines the low-level functions for handling input and output via the traditional interpreter's user interface, using the local keyboard and console via the "tads-io" function set.
The functions in this module are designed primarily for internal use within the library itself. Games should use the higher level objects and functions defined in input.t and output.t instead of directly calling the functions defined here. The reason for separating these functions is so that we can substitute the Web UI versions for games that wish to use the Web UI insetad of the traditional console UI.
aHref
aHrefAlt
aioClearScreen
aioInputDialog
aioInputEvent
aioInputFile
aioInputLineCancel
aioInputLineTimeout
aioMorePrompt
aioSay
aioSetLogFile
checkHtmlMode
initDisplay
initUI
statusHTML
terminateUI
aHref (href, txt?, title?, flags, =, 0) | console.t[189] |
If the display text is included, we'll generate the entire link, including the <A HREF> tag, the hyperlinked text contents, and the </A> end tag. If the text is omitted, we'll simply generate the <A HREF> tag itself, leaving it to the caller to display the text and the </A>.
The optional 'flags' is a combination of AHREF_xxx flags indicating any special properties of the hyperlink.
aHrefAlt (href, linkedText, altText, title?) | console.t[224] |
aioClearScreen ( ) | console.t[165] |
aioInputDialog (icon, prompt, buttons, defaultButton, cancelButton) | console.t[145] |
aioInputEvent (timeout) | console.t[113] |
aioInputFile (prompt, dialogType, fileType, flags) | console.t[135] |
aioInputLineCancel (reset) | console.t[102] |
aioInputLineTimeout (timeout) | console.t[93] |
aioMorePrompt ( ) | console.t[124] |
aioSay (txt) | console.t[83] |
aioSetLogFile (fname, logType?) | console.t[155] |
checkHtmlMode ( ) | console.t[61] |
initDisplay ( ) | console.t[39] |
initUI ( ) | console.t[31] |
statusHTML (stage) | console.t[249] |
terminateUI ( ) | console.t[52] |