UNLOAD

From STX Wiki
Jump to navigationJump 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.

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 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.
/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.

Navigation menu

Personal tools