From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 16:24, 7 May 2014 by Christian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 (UNLOAD MACROCODE), classes and signal processing units (UNLOAD SPUCODE), or closes at least one sound file.

The name of the STx sourcecode file to unload.
A blank separated list of paths to soundfiles to unload.
Forces the file to be unloaded (this makes sense only with MACROCODE, SPUCODE and SOURCECODE). This can be useful with classes inheriting from parent classes. Repeat the unload process until all dependencies have been removed.
If specified, no log message is generated in the STx log.
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.