Difference between revisions of "Set.loop"

From AGI Wiki
Jump to navigationJump to search
(Created page with "Set.loop   == <br />Syntax == <blockquote><code>set.loop(oA,B);</code></blockquote>   == Description == The current loop of object oA is set to B. If an invalid...")
 
Line 13: Line 13:
  
 
&nbsp;
 
&nbsp;
 +
== Sources ==
 +
 +
[[AGI Studio Help File]]
 +
 +
&nbsp;
 +
 
== See also ==
 
== See also ==
  

Revision as of 22:42, 29 December 2013

Set.loop

 


Syntax

set.loop(oA,B);

 

Description

The current loop of object oA is set to B. If an invalid loop number is given, the interpreter generates an error. If the current cel of the object is greater than the last cel in loop B, then the current cel is set to 0.

 

Sources

AGI Studio Help File

 

See also