@For(n := 1;
n <= @Elements(Categories);
n := n + 1;
@Prompt([OK]; "Category " + @Text(n); Categories[n]))
@For(n :=1; n<=@Elements(fname); n:= n + 1;
full := @If(n=1;fname[n] + " " + lname[n];full : (fname[n] + " " + lname[n])));
full
If fname contains: "Catherine":"Patricia":"Maureen" and lname contains: "Rolling":"Kearns":"Legacy", the result is: "Catherine Rolling;Patricia Kearns;Maureen Legacy." If fname and lname each contain a different number of elements, be sure to include the field that has fewer elements in the @Elements function or an "Array index out of bounds" error results.
temp := "";
@For(n := 1; n <= @Elements(poets); n := n + 1;
@If(@Length(poets[n])>@Length(temp);
temp := poets[n];temp));
temp