elseInstrument Control:Program Flow Controlelseelse
Executes a block of code when an "if...then" condition is false.
Description
Executes a block of code when an "if...then" condition is false.
SyntaxelsePerformanceelse is used inside of a block of code between the "if...then" and endif opcodes. It defines which statements are executed when a "if...then" condition is false. Only one else statement may occur and it must be the last conditional statement before the endif opcode.
Examples
Here is an example of the else opcode. It uses the file else.csd.
Example of the else opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoProgram Flow Control More information on this opcode: http://www.csoundjournal.com/2006spring/controlFlow.html , written by Steven Yi CreditsNew in version 4.21