Page 1 of 1

What's the command to set variable back to Switch

Posted: Sun May 05, 2013 6:16 pm
by nicktazo
Dears



i got the variable by function getVariableAsNumber. after some calculation, i need to write the new variable back to switch Metadata.



could you tell me what's the command to do it ?



Thanks much



Nick

What's the command to set variable back to Switch

Posted: Mon May 06, 2013 3:01 pm
by dkelly
job.setPrivateData("key", value);

What's the command to set variable back to Switch

Posted: Wed May 08, 2013 9:33 pm
by freddyp
Ni hao Nick,



I would like to draw your attention to a new feature in update 4 to perform calculations on variables. It allows to do calculations without having to use script expressions. Check it out on the video of what's new in update 4. It may be an easier approach for what you want to do.



Freddy

What's the command to set variable back to Switch

Posted: Thu May 09, 2013 3:47 am
by nicktazo
freddyp wrote: Ni hao Nick,



I would like to draw your attention to a new feature in update 4 to perform calculations on variables. It allows to do calculations without having to use script expressions. Check it out on the video of what's new in update 4. It may be an easier approach for what you want to do.



Freddy


Thanks much Freddy



Good News.



Nick