gotoInstrument Control:Program Flow Controlgotogoto
Transfer control on every pass.
Description
Transfer control to label on every pass. (Combination of igoto and kgoto)
Syntaxgoto label
where label is in the same instrument block and is not an expression.
Using goto not as part of an if statement (as in: goto end), will cause initialization to be skipped on all the code the goto jumps over. In performance, leaving some opcodes uninitialized will cause deletion of the note/event. In these cases, using kgoto (as in: kgoto end) might be preferred."
Examples
Here is an example of the goto opcode. It uses the file goto.csd.
Example of the goto opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoProgram Flow ControlCreditsExample written by &namekevin;.Added a note by Jim Aikin.