MarksStoreArray methods syntax: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 6: | Line 6: | ||
<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">marksStoreArray</span><span class="literal">:[[Find (MarksStoreArray function)|Find]]</span><span class="literal">(</span> <span class="term" title="CollectionItem">collectionItem</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">After=</span> <span class="term" title="String">string</span><span class="squareb">]</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">%string</span><span class="literal"> =</span> <span class="term">marksStoreArray</span><span class="literal">:[[Find (MarksStoreArray function)|Find]]</span><span class="literal">(</span> <span class="term" title="CollectionItem">collectionItem</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">After=</span> <span class="term" title="String">string</span><span class="squareb">]</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">marksStoreArray</span><span class="literal">:[[Initialize (MarksStoreArray subroutine)|Initialize]]</span><span class="literal">(</span> <span class="term" title="CollectionItem">collectionItem</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">marksStoreArray</span><span class="literal">:[[Initialize (MarksStoreArray subroutine)|Initialize]]</span><span class="literal">(</span> <span class="term" title="CollectionItem">collectionItem</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">% | <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">%currentItem</span><span class="literal"> =</span> <span class="term">marksStoreArray</span><span class="literal">:[[Item (MarksStoreArray property)|Item]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> | ||
<span class="term">marksStoreArray</span><span class="literal">:[[Item (MarksStoreArray property)|Item]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> <span class="literal">= </span><span class="term"> | <span class="term">marksStoreArray</span><span class="literal">:[[Item (MarksStoreArray property)|Item]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span> <span class="literal">= </span><span class="term">newItem</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">marksStoreArray</span><span class="literal">:[[MaxStoreCode (MarksStoreArray function)|MaxStoreCode]]</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">marksStoreArray</span><span class="literal">:[[MaxStoreCode (MarksStoreArray function)|MaxStoreCode]]</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">marksStoreArray</span><span class="literal">:[[MaxStoreCodeNumber (MarksStoreArray function)|MaxStoreCodeNumber]]</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">marksStoreArray</span><span class="literal">:[[MaxStoreCodeNumber (MarksStoreArray function)|MaxStoreCodeNumber]]</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">%marksStoreArray</span><span class="literal"> =</span> <span class="literal">%(MarksStoreArray):[[New (MarksStoreArray constructor)|New]]</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">%marksStoreArray</span><span class="literal"> =</span> <span class="literal">%(MarksStoreArray):[[New (MarksStoreArray constructor)|New]]</span></p> |
Revision as of 22:21, 14 February 2011
The syntax for each of the MarksStoreArray 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 MarksStoreArray methods.
%outMarksStoreArray = marksStoreArray:Copy
%outMarksStoreArray = marksStoreArray:DeepCopy
%string = marksStoreArray:Find( collectionItem, [After= string])
marksStoreArray:Initialize( collectionItem)
%currentItem = marksStoreArray:Item( string) marksStoreArray:Item( string) = newItem
%string = marksStoreArray:MaxStoreCode
%number = marksStoreArray:MaxStoreCodeNumber
%marksStoreArray = %(MarksStoreArray):New