Creating string variable by adding values of other variables

Creating string variable by adding values of other variables

Creating scripts in text mode enables a possibility of string type variable creating. It takes place via adding values of other variables to them.


The following script will be used in this example.

CLU->variable1 = CLU->Date .. CLU->Time 
CLU->variable2 = CLU->Date .. " " .. CLU->Time
CLU->variable3 = "Date: " .. CLU->Date .. ", Time: " .. CLU->Time

where
variable1, variable2, variable3 are User features on CLU.

C

After sending the configuration to CLU and calling the mentioned script,  variable1, variable2 oraz variable3 should look as follow.


The functionality like this one may be useful when there is a need to send requests using Gate HTTP which require cyclically changing tokens.