Connexion rapide:  

Forum: General Discussion

Sujet setting variable value / output variable value

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

doug9474ControlleristMember since 2019
If I want to get the bpm of a song and put it in a variable, is it just the code below?

set $bpm get_bpm

Also, is there a way to debug VDJscript? For example outputting the value of a variable somewhere so I can see it?
 

Posté Tue 12 Oct 21 @ 3:03 am
locoDogPRO InfinityModeratorMember since 2013
needs backticks to parse the script as a value

set $bpm `get_bpm`

find var values with
var_list

or use this as a button name
`get_var $bpm`

there's also debug, but in this case one of the above will be better
get_var $bpm & param_cast & debug
 

Posté Tue 12 Oct 21 @ 3:12 am
doug9474ControlleristMember since 2019
ok thanks
 

Posté Tue 12 Oct 21 @ 10:35 am


(Les anciens sujets et forums sont automatiquement fermés)