Programmer Guide/Command Reference/UNLOAD: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
:A blank separated list of paths to soundfiles to unload. | :A blank separated list of paths to soundfiles to unload. | ||
;<code>/Force</code> | ;<code>/Force</code> | ||
:Forces the file to be unloaded. This can be useful with classes inheriting from parent classes. Repeat the <code>unload</code> until all dependencies have been removed. | :Forces the file to be unloaded. This can be useful with classes inheriting from parent classes. Repeat the <code>unload</code> process until all dependencies have been removed. | ||
;<code>/Nolog</code> | ;<code>/Nolog</code> | ||
:If specified, no log message is generated in the {{STx}} log. | :If specified, no log message is generated in the {{STx}} log. |
Revision as of 15:22, 7 May 2014
UNLOAD MACROCODE|SPUCODE|SOURCECODE fileName [ /Force ] [ /Nolog ][ /Silent ] UNLOAD SOUNDFILE soundfilePaths [ /Silent ]
The ULOAD
family if STx commands unloads (hence the name) either the source code of macros, classes and signal processing units, or closes at least one sound file.
- fileName
- The name of the STx sourcecode file to unload.
- soundfilePaths
- A blank separated list of paths to soundfiles to unload.
/Force
- Forces the file to be unloaded. This can be useful with classes inheriting from parent classes. Repeat the
unload
process until all dependencies have been removed. /Nolog
- If specified, no log message is generated in the STx log.
/Silent
- If specified, errors will generate warning messages rather than error messages. See The Silent Flag for details.
Quite obviously, source code can only be unloaded if it is not being used.