![]() | Assign | Assignments with calculations | ![]() |
@Assign Log = 'poor'
Log is a List attribute and 'poor' is a literal string.
@Assign Log = Log1
Log and Log1 are both List attributes.
@Assign Var = 'Royal Hotel'
Var is a string variable and 'Royal Hotel' is a literal string.
@ASSIGN Date = '25/12/90'
Date is a date attribute and '25/12/90' is a literal string.
The DecodeDate command can be used to convert dates into their respective Day, Month and Year constituents, taking account of the country setting being used.
@ASSIGN LogAtt = str[1]
@ASSIGN TmpStr = log[1,1]
Where LogAtt is a List Attribute and TmpStr is a String variable.
Str[1] is a string array and log[1,1] is a List array.