快速登录:  

Forum: VirtualDJ Technical Support

话题: Use variables inside instructions
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.
 

发表时间 Tue 07 Feb 23 @ 4:40 pm
locoDogPRO InfinityModeratorMember since 2013
example
set a 3 & get_var a & param_cast 'integer' & pad
 

发表时间 Tue 07 Feb 23 @ 5:00 pm
Thanks, that works!
 

发表时间 Tue 07 Feb 23 @ 7:46 pm