nojanath / SublimeKSP

Fork of Nils Liberg's SublimeKSP plugin. See README for details.
GNU General Public License v3.0
89 stars 18 forks source link

Code works on Kontakt but won't compile #222

Closed gabrieldib closed 1 year ago

gabrieldib commented 1 year ago

When using this code:

on init 
    declare ui_slider $my_knob1(1,1000000)
    declare const $MY_KNOB1_DISP := get_ui_id($my_knob1)
end on

I get the error: "Expression uses non-constant values or constant variables"

However, Kontakt compiles the code above and runs it.

mkruselj commented 1 year ago

This is due to Extra syntax checks option. Needs investigation.