Template:Socket:ReceiveAndParse syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
 
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. -->
<p class="syntax"><span class="term">%BytesReceived</span><span class="literal"> =</span> <span class="term">socket</span><span class="literal">:ReceiveAndParse</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Target=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>                    -
<p class="syntax"><span class="term">%bytesReceived</span><span class="literal"> =</span> <span class="term">socket</span><span class="literal">:ReceiveAndParse</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Target=</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="Number">MaxBytes=</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">MaxBytes=</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">ParseTokenIndex=</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">ParseTokenIndex=</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="String">Options=</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">Options=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>

Latest revision as of 15:03, 11 November 2012

%bytesReceived = socket:ReceiveAndParse( [Target=] string, - [[MaxBytes=] number], - [[ParseTokenIndex=] number], - [[Options=] string])