among not working the way it should with numbers
Posted: Tue Jul 07, 2015 1:00 am
trying this where tileTypeNumber is 2
but it refuses to find 2 in that list. the numbers are separated by spaces so they should be recognised as words shouldn't they?
i tried setting itemDelimiter to comma then setting the list to "1,2,3,4,5,6" and used "among the items of" but it still didnt work
Code: Select all
if tileTypeNumber is among the words of "1 2 3 4 5 6" then
put "VideoAloneTemplate" into templateMaster
end if
i tried setting itemDelimiter to comma then setting the list to "1,2,3,4,5,6" and used "among the items of" but it still didnt work