i'm trying to subscript through this multi-valued parameter {? company}
example:
local stringvar temp:="";
local numbervar i;
for i:=1 to count({?company}) do
(
if i=1 then temp:=temp & {?company} ;
if i > 1 then temp := temp & ", " & {?company} ;
);
temp
end of example.
but if get an error saying that "{?company}" must be a string and it is defined as a string. it seems like it does'nt know what type the parameter is.
example:
local stringvar temp:="";
local numbervar i;
for i:=1 to count({?company}) do
(
if i=1 then temp:=temp & {?company} ;
if i > 1 then temp := temp & ", " & {?company} ;
);
temp
end of example.
but if get an error saying that "{?company}" must be a string and it is defined as a string. it seems like it does'nt know what type the parameter is.