output.tfilesource file

TADS 3 Library - output formatting

This module defines the framework for displaying output text.

Summary of Classes  

CaptureFilter  HtmlStyleTag  LogConsole  MessageBuilder  MonitorFilter  OutputFilter  OutputStream  ParagraphManager  StringCaptureFilter  StyleTag  SwitchableCaptureFilter 

Summary of Global Objects  

announceObjStyleTag  assumeStyleTag  commandSequencer  hyperlinkStyleTag  inputlineStyleTag  mainOutputStream  mainParagraphManager  notificationStyleTag  outputManager  parserStyleTag  roomdescStyleTag  roomnameStyleTag  roomparaStyleTag  statusroomStyleTag  statusscoreStyleTag  styleTagFilter 

Summary of Global Functions  

aHref  aHrefAlt  say  withQuotes 

Global Functions  

aHref (href, txt, ...)output.t[393]

Generate a string to show hyperlinked text. If we're not in HTML mode, we'll simply return the text without the hyperlink; otherwise, we'll return the text with a hyperlink to the given HREF.

aHrefAlt (href, linkedText, altText, ...)output.t[421]
Generate a string to show hyperlinked text, with alternate text if we're not in HTML mode. If we're in HTML mode, we'll return linkedTxt linked to the given HREF; if we're in plain text mode, we'll return the alternate text as-is.

say (val)output.t[21]
The standard library output function. We set this up as the default display function (for double-quoted strings and for "<< >>" embeddings). Code can also call this directly to display items.

withQuotes (txt)output.t[447]
Generate a string for showing quoted text. We simply enclose the text in a <Q>...</Q> tag sequence and return the result.

TADS 3 Library Manual
Generated on 9/8/2006 from TADS version 3.0.11