Copy Variable to Variable

Discuss RoboTask here
Post Reply
Nickel Plate
Posts: 1
Joined: Fri Nov 25, 2005 6:10 am

Copy Variable to Variable

Post by Nickel Plate »

Is there anyway i can copy contents of one variable to another variable.
I copy software from internet each night which as a number as part of file name, have got two variables "OLDNUMBER" and "NEWNUMBER", so i would like to copy new into old at the end of the download so i do not have to look up old number each night
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Copy Variable to Variable

Post by Oleg »

It is "Set Variable" action.
You should use the following parameters:
Variable Name - OLDNUMBER
Variable Value - {NEWNUMBER}
Expand Variable Value - ON // It is required

When you turn on "Expand Variable Value" parameter, RoboTask expands value before assigning. Otherwise value will be assigned "as is".
Post Reply