C++ pass global variable, header or user input into C++ script

  • Software
  • C++ pass global variable, header or user input into C++ script
Gary Floyd

Posted on 27.08.2022 00:02

I am trying to use any of these mechanism to pass either txt or integer into the c++ script to use with a switch case or even an if. But even if they are assigned int or text in the main interface they appear to be passed through as scalars. I have seen the published variable tab which looks to be the work around that was put into place. Ultimately looking for a way to change these variables from pull down box in the main interface or from sequencer. So they can be changed on the fly, so published variables aren't really a valid solution. Thanks for the help


Gary

Gary Floyd

Posted on 30.08.2022 04:03

I was able to get this to work with user input, using if, else if, else statement as it looks like dewesoft converts these to floats, even if they are set to integer. F

Login to reply to this topic. If you don't have account yet, you can signup for free account .