Note that imports and exports variables import global variables, or act as targets for the SASL control and table commands. A variable declared in an instrument definition may not be imported into an opcode called by that instrument. Like core opcodes, each syntactic opcode call to a user-defined opcode has a separate set of variables. A user-defined opcode may also be called by an oparray call, for applications where state sharing between multiple opcode calls is required. Variables are initialized during the first opcode call, using the initialization semantics of instrument variables.
Variables maintain their state from call to call.
The declaration syntax for the following instrument variables are also permitted in the opcode variable block. The xsig keyword may be used in polymorphic opcodes. See left panel for restrictions. Tablemap definitions may use tables defined as opcode parameters. The keyword outchannels indcates the width is the number of audio output channels of the calling instrument.