Target - is a variable/constant which will be compared to Values.
Values - are variables/constants.
Variable - receives the result (if any).
Get target's match number (0-N) into variable (if match found).
The lookdown command should be used when you have a specific value to compare with a pre-known list of options. The target variable is compared to the values in the bracket. If it matches the 5th item the number '4' is returned in variable. Note the values are numbered from 0 upwards (not 1 upwards). If there is no match the value of variable is left unchanged.