Sign In:     


Forum: VirtualDJ Technical Support

Topic: Use variables inside instructions

This topic is old and might contain outdated or incorrect information.

I'm trying to figure out how to use variables inside instructions, for instance
This obviously works fine: deck 3 pad_page 1 & pad 3
But I would like to use the variable $cnt instead of the number 3
Like: deck 3 pad_page 1 & pad `get_var $cnt`

Suggestions for the right syntax would be appreciated.
 

Posted Tue 07 Feb 23 @ 4:40 pm
example
set a 3 & get_var a & param_cast 'integer' & pad
 

Thanks, that works!
 



(Old topics and forums are automatically closed)