Biks 9 Posted February 18, 2016 Report Share Posted February 18, 2016 OK, I'm sort of embarrassed to ask this. I've been increasing variables by +1 for a while now. I want to increase a variable by +500. In the parameters/Math Functions I have $EVAL and $RAND. Is this is regex thing? A $REPLACE or $REPLACE REGULAR EXPRESSION thing? How do I say: #NUMBER (500) + 500 = #NUMBER (1000) or do I have to update another variable? Like: #NUMBER (500) + 500 = #NUMBER2 (1000) How do I enter this? :-P Quote Link to post Share on other sites
deliter 203 Posted February 18, 2016 Report Share Posted February 18, 2016 set(#number, 500, "Global")loop(10) { set(#number, $add(#number, 500), "Global")}alert(#number) the maths add,divide,subtract,multiply are not in the toolbox,you just write it like this,for the above that has the add function drag number into the variable {#number}then write + 500{#number} + 500when you click ok,Ubot parses the above into an add function* = multiple/ = divide Quote Link to post Share on other sites
Biks 9 Posted February 18, 2016 Author Report Share Posted February 18, 2016 the maths add,divide,subtract,multiply are not in the toolbox,you just write it like this,for the above that has the add function Ah ha, so it wasn't a stupid question. See what happens when you take a Photoshop guy and try to make him a programmer? I was wondering what the loop thing was about. I just need: set(#number,$add(#number,500),"Global") Thanks! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.