MessageResultclassexec.t[1577]

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  

messageProp_  messageText_ 

Summary of Methods  

construct  resolveMessageText  setMessage  showMessage 

Properties  

messageProp_exec.t[1850]

the message property, if we have one

messageText_exec.t[1847]
the text of our result message

Methods  

construct (msg, [params])exec.t[1585]

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)exec.t[1620]
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])exec.t[1831]
set a new message, given the same type of information as we'd use to construct the object

showMessage ( )exec.t[1840]
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