--- doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html 2016/07/15 15:29:04 2948 +++ doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html 2016/07/15 15:33:43 2949 @@ -48,6 +48,10 @@ Pauses execution for a certain amount of time. + stop_wait() + Resumes execution of a suspended script callback. + + abs() Calculates the absolute value of a given value. @@ -232,6 +236,45 @@ + + $NI_CALLBACK_ID + Reflects the current event handler instance's unique callback ID. + For the same event type there may be more than + one event handler instances running. Each one of them has + its own callback ID. You can get the current event handler + instance's callback ID by reading this built-in variable. + + + $NI_CALLBACK_TYPE + Reflects the event type of the current event handler. This variable + may reflect one of the following built-in constants: + $NI_CB_TYPE_INIT, $NI_CB_TYPE_NOTE, + $NI_CB_TYPE_RELEASE, $NI_CB_TYPE_CONTROLLER. + + + $NI_CB_TYPE_INIT + Built-in constant reflecting an init event handler type. + + + $NI_CB_TYPE_NOTE + Built-in constant reflecting a note event handler type. + + + $NI_CB_TYPE_RELEASE + Built-in constant reflecting a release event handler type. + + + $NI_CB_TYPE_CONTROLLER + Built-in constant reflecting a controller event handler type. + + + $NKSP_IGNORE_WAIT + If this boolean built-in variable is 1 then all calls of your + event handler instance to function wait() will be ignored. + This may for example be the case if another event handler instance + resumed your paused script by calling stop_wait() and + passing 1 to the 2nd argument of that function. +

Common Sampler Variables