Here is my workaround:
Code: Select all
variable tElement as string
repeat with tElement from 1 up to the number of elements in mTags
if pTag is element tElement of mTags then
put tElement into mSelected
exit repeat
end if
end repeat
Code: Select all
variable tElement as string
repeat with tElement from 1 up to the number of elements in mTags
if pTag is element tElement of mTags then
put tElement into mSelected
exit repeat
end if
end repeat