Ksp reference Manual


const $ (constant integer)



Download 0,99 Mb.
Pdf ko'rish
bet15/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   11   12   13   14   15   16   17   18   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

3.8. const $ (constant integer)
declare const $
Declare a user-defined constant to store a single integer value
Remarks
• As the name implies, the value of constant variables can only be read, not changed.
• It is quite common to capitalize the names of constants.
Examples
on init
declare const $NUM_OF_PRESETS := 10
declare const $NUM_OF_PARAMETERS := 5
declare %preset_data[$NUM_OF_PRESETS * $NUM_OF_PARAMETERS]
end on 
Creating constants – useful when creating preset arrays
See Also
on init
3.9. const ~ (real constant)
declare const ~
Declare a user-defined constant to store a single real value
Remarks
• As the name implies, the value of constant variables can only be read, not changed.
• It is quite common to capitalize the names of constants.
Examples
on init
declare const ~BIG_NUMBER := 100000.0
declare const ~SMALL_NUMBER := 0.00001
end on
Variables
18
KSP Reference Manual



Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   11   12   13   14   15   16   17   18   ...   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