Template:Read Image statement syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "<p class="syntaxUL">READ <span class="squareb">[</span>IMAGE<span class="squareb">]</span> <span class="term">imagename</span> FROM <span class="squareb">{</span><span class=...")
 
No edit summary
Line 1: Line 1:
<p class="syntaxUL">READ <span class="squareb">[</span>IMAGE<span class="squareb">]</span> <span class="term">imagename</span>
<p class="syntaxUL">Read <span class="squareb">[</span>Image<span class="squareb">]</span> <span class="term">imagename</span>
  FROM <span class="squareb">{</span><span class="term">ext-filename</span> <span class="squareb">|</span> TERMINAL <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span>
  From <span class="squareb">{</span><span class="term">ext-filename</span> <span class="squareb">|</span> Terminal <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span>
  <span class="squareb">[</span>PROMPT <span class="squareb">{</span>'<span class="term">text</span>' <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span><span class="squareb">]</span>
  <span class="squareb">[</span>Prompt <span class="squareb">{</span>'<span class="term">text</span>' <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span><span class="squareb">]</span>
  <span class="squareb">[</span>NEXT <span class="squareb">|</span> KEY <span class="term">operator</span> <span class="squareb">{</span><span class="term">value</span> <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span><span class="squareb">]</span>
  <span class="squareb">[</span>Next <span class="squareb">|</span> Key <span class="term">operator</span> <span class="squareb">{</span><span class="term">value</span> <span class="squareb">|</span> <span class="term">%variable</span><span class="squareb">}</span><span class="squareb">]</span>
 
</p>
READ <span class="squareb">[</span>IMAGE<span class="squareb">]</span> <span class="term">imagename</span> FROM BUFFER
   <span class="squareb">[</span>POSITION=<span class="squareb">{</span><span class="term">%pvariable</span> <span class="squareb">|</span> <span class="term">n</span><span class="squareb">}</span><span class="squareb">]</span>
<p></p>  <!--Don't ask me why!-->
   <span class="squareb">[</span>MAXLEN=<span class="squareb">{</span><span class="term">%lvariable</span> <span class="squareb">|</span> <span class="term">n</span><span class="squareb">}</span><span class="squareb">]</span>
<p class="syntaxUL">Read <span class="squareb">[</span>Image<span class="squareb">]</span> <span class="term">imagename</span> From Buffer
   <span class="squareb">[</span>Position=<span class="squareb">{</span><span class="term">%pvariable</span> <span class="squareb">|</span> <span class="term">n</span><span class="squareb">}</span><span class="squareb">]</span>
   <span class="squareb">[</span>Maxlen=<span class="squareb">{</span><span class="term">%lvariable</span> <span class="squareb">|</span> <span class="term">n</span><span class="squareb">}</span><span class="squareb">]</span>
</p>
</p>

Revision as of 00:58, 2 February 2016

Read [Image] imagename From {ext-filename | Terminal | %variable} [Prompt {'text' | %variable}] [Next | Key operator {value | %variable}]

Read [Image] imagename From Buffer [Position={%pvariable | n}] [Maxlen={%lvariable | n}]