Difference between revisions of "Load.sound"

From AGI Wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
The <code>load.sound()</code> command loads the SOUND resource number n, i.e. Sound(n) into memory.
 +
 +
&nbsp;
 +
 +
== <br />Syntax ==
 +
 +
<code>load.sound(n);</code>
 +
 +
&nbsp;
 +
== Remarks ==
 +
 +
There is no way of loading a sound with indirection. The command load.sound.v does not exist.
 +
 +
&nbsp;
 +
== Example ==
 +
 +
<div class="CodeBlockHeader">Code:</div>
 +
<syntaxhighlight lang="agi">
 
load.sound(n);
 
load.sound(n);
 +
</syntaxhighlight>
 +
 +
&nbsp;
 +
== Technical Information ==
 +
  
Loads into memory the SOUND resource number n, i.e. Sound(n). Note that there is no way of loading a sound with indirection. The command load.sound.v does not exist.
 
  
 
&nbsp;
 
&nbsp;
 
== See Also ==
 
== See Also ==
  
 +
* [[Sound Commands|Sound Commands]]
 
* [[AGI Specifications: Chapter 4 - The LOGIC Language#load.sound|AGI Specifications: Chapter 4 - The LOGIC Language load.sound]]
 
* [[AGI Specifications: Chapter 4 - The LOGIC Language#load.sound|AGI Specifications: Chapter 4 - The LOGIC Language load.sound]]
  

Revision as of 22:14, 25 December 2013

The load.sound() command loads the SOUND resource number n, i.e. Sound(n) into memory.

 


Syntax

load.sound(n);

 

Remarks

There is no way of loading a sound with indirection. The command load.sound.v does not exist.

 

Example

Code:

<syntaxhighlight lang="agi"> load.sound(n); </syntaxhighlight>

 

Technical Information

 

See Also