Stringlist methods syntax: Difference between revisions
m (Automatically generated page update) |
(Automatically generated page update) |
||
(32 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
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=Stringlist}} | |||
<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= | |||
<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">sl</span><span class="literal">:[[BinaryProcedureEncode (Stringlist subroutine)|BinaryProcedureEncode]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Boolean">base64Flag</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">sl</span><span class="literal">:[[BinaryProcedureEncode (Stringlist subroutine)|BinaryProcedureEncode]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Boolean">base64Flag</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">sl</span><span class="literal">:[[BindImage (Stringlist subroutine)|BindImage]]</span><span class="literal">(</span> <span class="term" title="String">imageName</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">sl</span><span class="literal">:[[BindImage (Stringlist subroutine)|BindImage]]</span><span class="literal">(</span> <span class="term" title="String">imageName</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="squareb">[</span><span class="term">%rc</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[ChangeItemLength (Stringlist function)|ChangeItemLength]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="term" title="Number">length</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[ChangeItemLength (Stringlist function)|ChangeItemLength]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="term" title="Number">length</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">%rc</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[CheckCertificate (Stringlist function)|CheckCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal">Password=</span><span class="squareb">]</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">%rc</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[CheckCertificate (Stringlist function)|CheckCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Stringlist">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Password=</span><span class="squareb">]</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">%rc</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[CheckCertificateRequest (Stringlist function)|CheckCertificateRequest]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span> | <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">%rc</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[CheckCertificateRequest (Stringlist function)|CheckCertificateRequest]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Stringlist">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Password=</span><span class="squareb">]</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="squareb">[</span><span class="term">%outList</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Compare (Stringlist function)|Compare]]</span><span class="literal">(</span> <span class="term" title="Stringlist">inList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">syncCount</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">pad</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="squareb">[</span><span class="term">%outList</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Compare (Stringlist function)|Compare]]</span><span class="literal">(</span> <span class="term" title="Stringlist">inList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">syncCount</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">pad</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">%outList</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[Copy (Stringlist function)|Copy]]</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">%outList</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[Copy (Stringlist function)|Copy]]</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">sl</span><span class="literal">:[[CopyImageBinding (Stringlist subroutine)|CopyImageBinding]]</span><span class="literal">(</span> <span class="term" title="Stringlist">boundList</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">sl</span><span class="literal">:[[CopyImageBinding (Stringlist subroutine)|CopyImageBinding]]</span><span class="literal">(</span> <span class="term" title="Stringlist">boundList</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="squareb">[</span><span class="term">%count</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[CopyItems (Stringlist function)|CopyItems]]</span><span class="literal">(</span> <span class="term" title="Stringlist">inList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">numItems</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="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[CopyItems (Stringlist function)|CopyItems]]</span><span class="literal">(</span> <span class="term" title="Stringlist">inList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">numItems</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">%count</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[Count (Stringlist function)|Count]]</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">%count</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[Count (Stringlist function)|Count]]</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">sl</span><span class="literal">:[[CreateLines (Stringlist function)|CreateLines]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">delim</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">AddTrailingDelimiter=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</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">sl</span><span class="literal">:[[CreateLines (Stringlist function)|CreateLines]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">delim</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">AddTrailingDelimiter=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</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">%outList</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[DeepCopy (Stringlist function)|DeepCopy]]</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">%outList</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[DeepCopy (Stringlist function)|DeepCopy]]</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="squareb">[</span><span class="term">%string</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Dequeue (Stringlist function)|Dequeue]]</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="squareb">[</span><span class="term">%string</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Dequeue (Stringlist function)|Dequeue]]</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">sl</span><span class="literal">:[[Empty (Stringlist subroutine)|Empty]]</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">sl</span><span class="literal">:[[Empty (Stringlist subroutine)|Empty]]</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="squareb">[</span><span class="term">%count</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Enqueue (Stringlist function)|Enqueue]]</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="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Enqueue (Stringlist function)|Enqueue]]</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">%number</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[Find (Stringlist function)|Find]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</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">%number</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[Find (Stringlist function)|Find]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</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">%number</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[FindImageItem (Stringlist function)|FindImageItem]]</span><span class="literal">(</span> <span class="term" title=" | <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">sl</span><span class="literal">:[[FindImageItem (Stringlist function)|FindImageItem]]</span><span class="literal">(</span> <span class="term" title="%output">imageItem</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">searchValue</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">operator</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">%number</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[FindImageItemUp (Stringlist function)|FindImageItemUp]]</span><span class="literal">(</span> <span class="term" title=" | <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">sl</span><span class="literal">:[[FindImageItemUp (Stringlist function)|FindImageItemUp]]</span><span class="literal">(</span> <span class="term" title="%output">imageItem</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">searchValue</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="term" title="String">operator</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">%number</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[FindUp (Stringlist function)|FindUp]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</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">%number</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[FindUp (Stringlist function)|FindUp]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</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">sl</span><span class="literal">:[[FirstItem (Stringlist function)|FirstItem]]</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">sl</span><span class="literal">:[[FirstItem (Stringlist function)|FirstItem]]</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">sl</span><span class="literal">:[[GetImage (Stringlist subroutine)|GetImage]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">imageName</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">sl</span><span class="literal">:[[GetImage (Stringlist subroutine)|GetImage]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">imageName</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="squareb">[</span><span class="term">%count</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Insert (Stringlist function)|Insert]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="term" title=" | <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="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Insert (Stringlist function)|Insert]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="term" title="List">itemList</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="squareb">[</span><span class="term">%count</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[InsertImage (Stringlist function)|InsertImage]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">imageName</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="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[InsertImage (Stringlist function)|InsertImage]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">imageName</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">sl</span><span class="literal">:[[Item (Stringlist function)|Item]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</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">sl</span><span class="literal">:[[Item (Stringlist function)|Item]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</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">%outList</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[ItemDifferenceList (Stringlist function)|ItemDifferenceList]]</span><span class="literal">(</span> <span class="term" title="Stringlist">sl1</span><span class="comma">,</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">separator</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">%length</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[ItemLength (Stringlist function)|ItemLength]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</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">%length</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[ItemLength (Stringlist function)|ItemLength]]</span><span class="literal">(</span> <span class="term" title="Number">itemNum</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">sl</span><span class="literal">:[[LastItem (Stringlist function)|LastItem]]</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">sl</span><span class="literal">:[[LastItem (Stringlist function)|LastItem]]</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">%newList</span><span class="literal">=</span> <span class="literal">%(Stringlist): | <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">%newList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(Stringlist):</span><span class="squareb">]</span><span class="literal">[[List (Stringlist function)|List]]</span><span class="literal">(</span> <span class="term" title="List">itemList</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">%count</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[ListToItem (Stringlist function)|ListToItem]]</span><span class="literal">(</span> <span class="term" title="Stringlist">strList2</span><span class="comma">,</span> <span class="term" title="Number">itemNum</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">separator</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">%itemNum</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[Locate (Stringlist function)|Locate]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class=" | <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">%itemNum</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[Locate (Stringlist function)|Locate]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">Start=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">StartColumn=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | ||
< | <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">EndColumn=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CaseIndependent=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<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">%max</span><span class="literal">=</span> <span class="literal">%(Stringlist):[[MaxItemLength (Stringlist property)|MaxItemLength]]</span></p> | <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">ArbitraryQuote=</span><span class="squareb">]</span> <span class="term" title="Number">number</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">%itemNum</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[LocateUp (Stringlist function)|LocateUp]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">Start=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">StartColumn=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">EndColumn=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CaseIndependent=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">ArbitraryQuote=</span><span class="squareb">]</span> <span class="term" title="Number">number</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">%max</span><span class="literal"> =</span> <span class="literal">%(Stringlist):[[MaxItemLength (Stringlist property)|MaxItemLength]]</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">sl</span><span class="literal">:[[MoveFromId (Stringlist subroutine)|MoveFromId]]</span><span class="literal">(</span> <span class="term" title="Number">listId</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">sl</span><span class="literal">:[[MoveFromId (Stringlist subroutine)|MoveFromId]]</span><span class="literal">(</span> <span class="term" title="Number">listId</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 | |||
<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">sl</span><span class="literal">:[[UnbindImage (Stringlist subroutine)|UnbindImage]]</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">sl</span><span class="literal">:[[UnbindImage (Stringlist subroutine)|UnbindImage]]</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">%outList</span><span class="literal">=</span> <span class="term">sl</span><span class="literal">:[[Update (Stringlist function)|Update]]</span><span class="literal">(</span> <span class="term" title="Stringlist">updList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title=" | <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">%outList</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:[[Update (Stringlist function)|Update]]</span><span class="literal">(</span> <span class="term" title="Stringlist">updList</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="%output">%status</span><span class="squareb">]</span><span class="literal">)</span></p> |
Latest revision as of 20:18, 11 May 2016
The syntax for each of the Stringlist 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 Stringlist methods.
[%number =] sl:Add( itemList)
[%number =] sl:AddImage[( [imageName])]
[%number =] sl:AddOrdered( string)
[%number =] sl:AddOrderedUnique( string)
[%number =] sl:AddUnique( string)
[%number =] sl:AddUniqueOrdered( string)
[%rc =] sl:AppendCCATempAllocatorInfo
[%rc =] sl:AppendCertificateInfo[( [certificate])]
[%rc =] sl:AppendCertificateRequest( [PrivateKey=] string, - [[Country=] string], [[State=] string], - [[City=] string], - [[Organization=] string], - [[OrganizationalUnit=] string], - [[CommonName=] string], - [SignatureAlgorithm= digestAlgorithm])
[%rc =] sl:AppendCertificateRequestInfo( certificateRequest)
[%rc =] sl:AppendClientCertificateRequest( [PublicKey=] string, - [[Country=] string], - [[State=] string], - [[City=] string], - [[Organization=] string], - [[OrganizationalUnit=] string], - [[CommonName=] string], - [[Challenge=] string], - [SignatureAlgorithm= digestAlgorithm])
[%rc =] sl:AppendCPCommandOutput( command, [BufferSize= number])
sl:AppendEncryptedSecurityData( sl, [Password=] string, - [[Identifier=] string])
[%count =] sl:AppendFieldImages[( [Image= string], [FirstOccurrence= number], - [MaxOccurrences= number], - [Options= string], [NullValue= string])]
[%count =] sl:AppendFieldValues[( [NameLength= number], [Fieldname= string], - [Options= string])]
sl:AppendGeneratedPrivateKey[( [[Length=] number], [[Exponent=] number], - [[Salt=] string])]
[%rc =] sl:AppendJournalData[( [[StartTime=] string], [[EndTime=] string], - [[Threads=] string], [[Options=] string], - [[Journal=] journal])]
[%rc =] sl:AppendOpenProcedure[( [numLines], [seqIncrement])]
sl:AppendPemData( [Data=] string, [label=] string)
[%number =] sl:AppendPrivateKeyInfo[( [sl], [[Password=] string])]
[%rc =] sl:AppendProcedureList( file, [pname], [accnt], [date])
[%rc =] sl:AppendSignedCertificate( [PrivateKey=] string, [Request=] string, - [[Signer=] string], - [[StartDate=] string], - [[EndDate=] string], - [[SerialNumber=] number], - [SignatureAlgorithm= digestAlgorithm])
[%rc =] sl:AppendSignedClientCertificate( [PrivateKey=] string, - [Request=] string, - [Signer=] string, - [[StartDate=] string], - [[EndDate=] string], - [[SerialNumber=] number], - [SignatureAlgorithm= digestAlgorithm])
[%rc =] sl:AppendSirfactCommandOutput( command)
[%rc =] sl:AppendSirfactData( dataList)
[%count =] sl:AppendTrace[( [parms])]
sl:AppendWebData[( [formFieldName= string], [formFieldOccurrence= number], - [options= string])] Throws FormFieldNotFound
%string = sl:BinaryProcedureDecode
sl:BinaryProcedureEncode( string, [base64Flag])
sl:BindImage( imageName)
[%rc =] sl:ChangeItemLength( itemNum, length)
%rc = sl:CheckCertificate( [PrivateKey=] stringlist, [[Password=] string])
%rc = sl:CheckCertificateRequest( [PrivateKey=] stringlist, - [[Password=] string])
[%outList =] sl:Compare( inList, [syncCount], [pad])
%outList = sl:Copy
sl:CopyImageBinding( boundList)
[%count =] sl:CopyItems( inList, [startItem], [numItems])
%count = sl:Count
%string = sl:CreateLines[( [delim], [AddTrailingDelimiter= boolean])]
%outList = sl:DeepCopy
[%string =] sl:Dequeue
sl:Empty
[%count =] sl:Enqueue( string)
%number = sl:Find( string, [startItem])
%number = sl:FindImageItem( imageItem, [searchValue], [startItem], [operator])
%number = sl:FindImageItemUp( imageItem, [searchValue], [startItem], - [operator])
%number = sl:FindUp( string, [startItem])
%string = sl:FirstItem
sl:GetImage( itemNum, [imageName])
[%count =] sl:Insert( itemNum, itemList)
[%count =] sl:InsertImage( itemNum, [imageName])
%string = sl:Item( itemNum)
%outList = sl:ItemDifferenceList( sl1, itemNum, [separator])
%length = sl:ItemLength( itemNum)
%string = sl:LastItem
%newList = [%(Stringlist):]List( itemList)
%count = sl:ListToItem( strList2, itemNum, [separator])
%itemNum = sl:Locate( string, [[Start=] number], [[StartColumn=] number], - [[EndColumn=] number], [[CaseIndependent=] number], - [[ArbitraryQuote=] number])
%itemNum = sl:LocateUp( string, [[Start=] number], [[StartColumn=] number], - [[EndColumn=] number], [[CaseIndependent=] number], - [[ArbitraryQuote=] number])
%max = %(Stringlist):MaxItemLength
sl:MoveFromId( listId)
sl:MoveToId( listId)
%sl = [%(Stringlist):]New[( [imageName])]
[%rc =] sl:Overlay( itemNum, [startCol], string)
sl:OverlayImageItem( itemNum, imageItem, [value])
sl:ParseLines( string, [delims], [StripTrailingNull= boolean])
%updList = sl:Patch( patchList, [Options= string])
%updList = sl:PatchLines( baseList, [Options= string])
%updString = sl:PatchString( baseString, [Options= string])
%string = sl:PemToString( label, [Occurrence= number]) Throws InvalidPemData
[%string =] sl:Pop
[%count =] sl:Print[( [[NumWidth=] number], [[LenWidth=] number], - [[Start=] number], [[MaxItems=] number])]
[%count =] sl:Push( string)
[%rc =] sl:RegexCapture( string, regex, [Options= string], [Status= %output]) Throws InvalidRegex
[%itemNum =] sl:RegexLocate( regex, [startItem], [Options= string], - [Status= %output], [StartCol= number], - [EndCol= number]) Throws InvalidRegex
[%itemNum =] sl:RegexLocateUp( regex, [startItem], [Options= string], - [Status= %output], [StartCol= number], - [EndCol= number]) Throws InvalidRegex
%outString = sl:RegexReplaceCorresponding( inString, replacementList, - [Options= string], - [Status= %output]) Throws InvalidRegex
[%number =] sl:RegexSplit( inString, regex, [Options= string], - [Status= %output], [Add= regexSplitOutputOptions]) Throws InvalidRegex
%subsetList = sl:RegexSubset( regex, [Options= string], [Status= %output], - [StartCol= number], [EndCol= number]) Throws InvalidRegex
[%count =] sl:RemoveItem( itemNum)
[%rc =] sl:Replace( number, string)
[%rc =] sl:ReplaceImage( itemNum, [imageName])
sl:Sort( sortOrder, [pad]) Throws InvalidSortSpecification
%outList = sl:SortNew( sortOrder, [pad]) Throws InvalidSortSpecification
%outList = sl:Subset( string, [[StartColumn=] number], [[EndColumn=] number], - [[CaseIndependent=] number], [[ArbitraryQuote=] number])
%outList = sl:SubsetImageItem( imageItem, [searchValue], [operator])
sl:UnbindImage
%outList = sl:Update( updList, [%status])