I have a macro which calls for a numerical value (cue number). If the cue number is a point cue, the macro fails because it's trying to store to a cue like 5.70000 and likely is listing it as a floating point number (?). How can I truncate the number so that the console variable can interpret it correctly?
use quotes when setting the variable but not when recalling
SetUserVar cuename "Intro"
Goto Cue $"cuename"
SetUserVar cuenumber "1.5"
Goto Cue $cuenumber
Hmm. I error out with a point cue with this
SetUserVar markDestCue ( Mark Into Cue Number )
Store Cue $markDestCue /merge Selection If EncoderPage 2 thru 9 EndIf
you need to use quotes when setting the variable:
SetUserVar markDestCue ("Mark Into Cue Number")
Sorry yes did that too
make sure that the quotes and parentheses are not separated
SetUserVar markDestCue (" Mark Into Cue Number ")
not like this
SetUserVar markDestCue ( "Mark Into Cue Number" )
notice how in the latter version, the quotes becomes part of the popup-headline
while in the first version, the quotes will surround the return-value from the popup