Difference between revisions of "Load.sound"
From AGI Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
+ | The <code>load.sound()</code> command loads the SOUND resource number n, i.e. Sound(n) into memory. | ||
+ | |||
+ | | ||
+ | |||
+ | == <br />Syntax == | ||
+ | |||
+ | <code>load.sound(n);</code> | ||
+ | |||
+ | | ||
+ | == Remarks == | ||
+ | |||
+ | There is no way of loading a sound with indirection. The command load.sound.v does not exist. | ||
+ | |||
+ | | ||
+ | == Example == | ||
+ | |||
+ | <div class="CodeBlockHeader">Code:</div> | ||
+ | <syntaxhighlight lang="agi"> | ||
load.sound(n); | load.sound(n); | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | | ||
+ | == Technical Information == | ||
+ | |||
− | |||
| | ||
== 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