Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet3/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   2   3   4   5   6   7   8   9   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

2. CALLBACKS
2.1. General Information
• A callback is a section within a script that is being "called" (i.e. executed) at certain times.
• All callbacks start with on 

and end with 
end on
.
• Callbacks can be stopped by using the command exit.
• Each callback has a unique ID number which can be retrieved with 
$NI_CALLBACK_ID
• You can query which callback triggered a function with 
$NI_CALLBACK_TYPE
and the corre-
sponding built-in constants.
Examples
function show_callback_type
if ($NI_CALLBACK_TYPE = $NI_CB_TYPE_NOTE)
message("Function was called from note callback!")
end if
if ($NI_CALLBACK_TYPE = $NI_CB_TYPE_CONTROLLER)
message("Function was called from controller callback!")
end if
end function
on note
call show_callback_type
end on
on controller
call show_callback_type
end on
Query the callback type in a function
See Also
exit
$NI_CALLBACK_ID
$NI_CALLBACK_TYPE

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   187




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish