I can't extract the items inside a return when I call a function. I have this kind of code:
Code: Select all
put testLeReturn() into tResult -- tResult has 2 or 3 items. For example tResult = TRUE,2,a string. The debugger is fine to watch that ;-)
put item 1 of tResult into lItem1
put item 2 of tResult into lItem2
put item 3 of tResult into lItem3
if lItem1 = TRUE then
-- do something
end if
So I wonder what's wrong with this script ? Any idea would be much appreciated
