literal string question- general addition with calls

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
meowness
Newbie
Posts: 3
Joined: Fri Jul 13, 2012 12:49 am

literal string question- general addition with calls

Post by meowness » Fri Jul 13, 2012 12:52 am

gosub>getnumber
let>x=number //from sub
gosub>getnumber
let>y=number
let>newnumber={{%x%}}+{{%y}}-1


if x=456789
and y=23456789
the result in the viewer is that newnumber = {{456789}}+{{23456789}}-1

which mean the expression is not being carried out and it's beinf treated as a literal... anyone know the correct form I should be using? TIA

meowness
Newbie
Posts: 3
Joined: Fri Jul 13, 2012 12:49 am

Post by meowness » Fri Jul 13, 2012 1:11 am

got it was using too many curlys...

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts