Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

exit()

Stops execution of the current event handler instance. It does not stop execution of other instances of the same event handler, nor does it stop execution of other handlers of other event types, and especially it does not stop or prevent further or future execution of your entire script! In other words, you should rather see this function as a return statement, in case you are familiar with other programming languages already.

Function Prototype

exit()

Arguments

None.

Return Value

None.

Examples

The following example prints a different message to the sampler's terminal, depending on how many notes were triggered so far.

See also

abort(), wait()

Availability

Since LinuxSampler 2.0.0

Document Updated:  2017-06-05  |  Author:  Christian Schoenebeck