MessageResultclass
Result message object. This is used for verification results and main command reports, which must keep track of messages to display.
class
MessageResult
: object
Superclass Tree (in declaration order)
MessageResult
` object`
Subclass Tree
MessageResult
CommandReportMessage
CosmeticSpacingCommandReport
DefaultCommandReport
DefaultDescCommandReport
ExtraCommandReport
FullCommandReport
AfterCommandReport
BeforeCommandReport
FailCommandReport
MainCommandReport
QuestionCommandReport
VerifyResult
DangerousVerifyResult
IllogicalNowVerifyResult
IllogicalAlreadyVerifyResult
IllogicalVerifyResult
IllogicalSelfVerifyResult
InaccessibleVerifyResult
LogicalVerifyResult
NonObviousVerifyResult
Global Objects
(none)
Summary of Properties
Summary of Methods
construct
resolveMessageText
setMessage
showMessage
Properties
messageProp_
the message property, if we have one
messageText_
the text of our result message
Methods
construct (msg, [params])
Construct given literal message text, or alternatively a property of the current actor’s verb messages object. In either case, we’ll expand the message immediately to allow the message to be displayed later with any parameters fixed at the time the message is constructed.
resolveMessageText (sources, msg, params)
Static method: resolve a message. If the message is given as a property, we’ll look up the message in the given source objects and in the actor’s “action messages” object. We’ll return the resolved message string.
setMessage (msg, [params])
set a new message, given the same type of information as we’d use to construct the object
showMessage ( )
Display a message describing why the command isn’t allowed.
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3