BadJournal methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (Automatically generated page update)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
{{Template:Syntax list header|class=BadJournal}}
{{Template:Syntax list header|class=BadJournal}}
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%badJournal</span><span class="literal"> =</span> <span class="literal">%(BadJournal):[[New (BadJournal constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="Number">ReasonCode=</span> <span class="term" title="Number">number</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%badJournal</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(BadJournal):</span><span class="squareb">]</span><span class="literal">[[New (BadJournal constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="Number">ReasonCode=</span> <span class="term" title="Number">number</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">badJournal</span><span class="literal">:[[ReasonCode (BadJournal function)|ReasonCode]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">badJournal</span><span class="literal">:[[ReasonCode (BadJournal property)|ReasonCode]]</span></p>

Latest revision as of 17:58, 31 July 2012

The syntax for each of the BadJournal class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of BadJournal methods.

%badJournal = [%(BadJournal):]New( ReasonCode= number)

%number = badJournal:ReasonCode