Code: Select all
function play item1, item2, item3, item4, item5, item6
repeat with numberVar = 1 to 6
put ("item" & numberVar) into theNameOfHolder
if theNameOfHolder is empty then
answer ("Variable " & theNameOfHolder & " is empty!")
end if
end repeat
end play
I tried with this if statemet to check if it's empty, but it's not working... Any ides?