Stringlist methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
 
(5 intermediate revisions by 3 users not shown)
Line 8: Line 8:
<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">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AddUnique (Stringlist function)|AddUnique]]</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">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AddUnique (Stringlist function)|AddUnique]]</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">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AddUniqueOrdered (Stringlist function)|AddUniqueOrdered]]</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">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AddUniqueOrdered (Stringlist function)|AddUniqueOrdered]]</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCPCommandOutput (Stringlist function)|AppendCPCommandOutput]]</span><span class="literal">(</span> <span class="term" title="String">command</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">BufferSize=</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCCATempAllocatorInfo (Stringlist function)|AppendCCATempAllocatorInfo]]</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">:[[AppendCertificateInfo (Stringlist function)|AppendCertificateInfo]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Stringlist">certificate</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCertificateInfo (Stringlist function)|AppendCertificateInfo]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Stringlist">certificate</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCertificateRequest (Stringlist function)|AppendCertificateRequest]]</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>                 -
<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">:[[AppendCertificateRequest (Stringlist function)|AppendCertificateRequest]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>                     -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Country=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">State=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>  -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Country=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">State=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>  -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">City=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                        -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">City=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                        -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Organization=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Organization=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">OrganizationalUnit=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>          -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">OrganizationalUnit=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>          -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">CommonName=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">CommonName=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                    <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCertificateRequestInfo (Stringlist function)|AppendCertificateRequestInfo]]</span><span class="literal">(</span> <span class="term" title="Stringlist">certificateRequest</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">:[[AppendCertificateRequestInfo (Stringlist function)|AppendCertificateRequestInfo]]</span><span class="literal">(</span> <span class="term" title="Stringlist">certificateRequest</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">:[[AppendClientCertificateRequest (Stringlist function)|AppendClientCertificateRequest]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Stringlist">PublicKey=</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendClientCertificateRequest (Stringlist function)|AppendClientCertificateRequest]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PublicKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>               -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Country=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Country=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">State=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">State=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
Line 24: Line 25:
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">OrganizationalUnit=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>    -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">OrganizationalUnit=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>    -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">CommonName=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>            -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">CommonName=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>            -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Challenge=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Challenge=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>              -
                                          <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendCPCommandOutput (Stringlist function)|AppendCPCommandOutput]]</span><span class="literal">(</span> <span class="term" title="String">command</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">BufferSize=</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">sl</span><span class="literal">:[[AppendEncryptedSecurityData (Stringlist subroutine)|AppendEncryptedSecurityData]]</span><span class="literal">(</span> <span class="term" title="Stringlist">sl</span><span class="comma">,</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="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">sl</span><span class="literal">:[[AppendEncryptedSecurityData (Stringlist subroutine)|AppendEncryptedSecurityData]]</span><span class="literal">(</span> <span class="term" title="Stringlist">sl</span><span class="comma">,</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="comma">,</span>                        -
                                 <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Identifier=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                                 <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Identifier=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
Line 38: Line 41:
                               <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Journal">Journal=</span><span class="squareb">]</span> <span class="term" title="Journal">journal</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                               <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Journal">Journal=</span><span class="squareb">]</span> <span class="term" title="Journal">journal</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendOpenProcedure (Stringlist function)|AppendOpenProcedure]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Number">numLines</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">seqIncrement</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendOpenProcedure (Stringlist function)|AppendOpenProcedure]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Number">numLines</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">seqIncrement</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">sl</span><span class="literal">:[[AppendPemData (Stringlist subroutine)|AppendPemData]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Data=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">label=</span><span class="squareb">]</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">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendPrivateKeyInfo (Stringlist function)|AppendPrivateKeyInfo]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Stringlist">sl</span><span class="squareb">]</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><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="squareb">[</span><span class="term">%number</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendPrivateKeyInfo (Stringlist function)|AppendPrivateKeyInfo]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Stringlist">sl</span><span class="squareb">]</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><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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendProcedureList (Stringlist function)|AppendProcedureList]]</span><span class="literal">(</span> <span class="term" title="String">file</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">pname</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">accnt</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">date</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendProcedureList (Stringlist function)|AppendProcedureList]]</span><span class="literal">(</span> <span class="term" title="String">file</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">pname</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">accnt</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">date</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendSignedCertificate (Stringlist function)|AppendSignedCertificate]]</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>                 -
<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">:[[AppendSignedCertificate (Stringlist function)|AppendSignedCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Request=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>   -
                                    <span class="squareb">[</span><span class="literal" title="Stringlist">Request=</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">Signer=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                       -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Stringlist">Signer=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="comma">,</span>                   -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">StartDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                    -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">StartDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                    -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">EndDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                      -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">EndDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                      -
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">SerialNumber=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p>
                                     <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">SerialNumber=</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendSignedClientCertificate (Stringlist function)|AppendSignedClientCertificate]]</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="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</span><span class="squareb">]</span><span class="literal">)</span></p>
                                           <span class="squareb">[</span><span class="literal" title="Stringlist">Request=</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="squareb">[</span><span class="term">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendSignedClientCertificate (Stringlist function)|AppendSignedClientCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>               -
                                           <span class="squareb">[</span><span class="literal" title="Stringlist">Signer=</span><span class="squareb">]</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span>               -
                                           <span class="squareb">[</span><span class="literal" title="String">Request=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>                   -
                                           <span class="squareb">[</span><span class="literal" title="String">Signer=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>                   -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">StartDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>              -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">StartDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>              -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">EndDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">EndDate=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                -
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">SerialNumber=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p>
                                           <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">SerialNumber=</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="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</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">%rc</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendSirfactCommandOutput (Stringlist function)|AppendSirfactCommandOutput]]</span><span class="literal">(</span> <span class="term" title="String">command</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">:[[AppendSirfactCommandOutput (Stringlist function)|AppendSirfactCommandOutput]]</span><span class="literal">(</span> <span class="term" title="String">command</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">:[[AppendSirfactData (Stringlist function)|AppendSirfactData]]</span><span class="literal">(</span> <span class="term" title="String">dataList</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">:[[AppendSirfactData (Stringlist function)|AppendSirfactData]]</span><span class="literal">(</span> <span class="term" title="String">dataList</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">:[[AppendTrace (Stringlist function)|AppendTrace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">parms</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="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[AppendTrace (Stringlist function)|AppendTrace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">parms</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">sl</span><span class="literal">:[[AppendWebData (Stringlist subroutine)|AppendWebData]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">formFieldName=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">formFieldOccurrence=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>    -
                  <span class="squareb">[</span><span class="literal" title="String">options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span>
Throws [[FormFieldNotFound class|FormFieldNotFound]]</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">:[[BinaryProcedureDecode (Stringlist function)|BinaryProcedureDecode]]</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">:[[BinaryProcedureDecode (Stringlist function)|BinaryProcedureDecode]]</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">:[[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>

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])