Journal methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
(Automatically generated page update)
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
<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">%boolean</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[IsMerged (Journal property)|IsMerged]]</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">%boolean</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[IsMerged (Journal property)|IsMerged]]</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">journal</span><span class="literal">:[[MergeCount (Journal property)|MergeCount]]</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">journal</span><span class="literal">:[[MergeCount (Journal property)|MergeCount]]</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">%journal</span><span class="literal"> =</span> <span class="literal">%(Journal):[[New (Journal constructor)|New]]</span><span class="literal">(</span> <span class="term" title="String">string</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">%journal</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(Journal):</span><span class="squareb">]</span><span class="literal">[[New (Journal constructor)|New]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span>
 
Throws [[BadJournal class|BadJournal]]</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">%string</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[StringFirstDateTime (Journal property)|StringFirstDateTime]]</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">%string</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[StringFirstDateTime (Journal property)|StringFirstDateTime]]</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">%string</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[StringLastDateTime (Journal property)|StringLastDateTime]]</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">%string</span><span class="literal"> =</span> <span class="term">journal</span><span class="literal">:[[StringLastDateTime (Journal property)|StringLastDateTime]]</span></p>

Latest revision as of 16:16, 23 December 2015

The syntax for each of the Journal 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 Journal methods.

%boolean = journal:IsMerged

%number = journal:MergeCount

%journal = [%(Journal):]New( string) Throws BadJournal

%string = journal:StringFirstDateTime

%string = journal:StringLastDateTime