Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet18/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   14   15   16   17   18   19   20   21   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

3.12. make_persistent()
make_persistent()
Retain the value of a variable with the instrument and snapshot
Variables
20
KSP Reference Manual


Remarks
• The state of the variable is saved not only with the patch (or multi or host chunk), but also when
a script is saved as a KONTAKT preset (.nkp file).
• The state of the variables is read at the end of the init callback. To load a stored value manually
within the init callback, use 
read_persistent_var()
.
• You can also use the 
on persistence
callback for retrieving the values of persistent varia-
bles
• When replacing script code by copy and replacing the text, the values of persistent variables
are also retained.
• Sometimes, when working on more complex scripts, you'll want to "flush" the variables by re-
setting the script. You can do this by applying an empty script in the respective slot.
Examples
on init
declare ui_knob $Preset (1,10,1)
make_persistent ($Preset)
end on
User interface elements, such as knobs, should usually retain their value when reloading the in-
strument
See Also
read_persistent_var()
on persistence_changed
make_instr_persistence()

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   14   15   16   17   18   19   20   21   ...   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