Two or more parameters in the <Return>[SOLVED]
Posted: Thu Apr 03, 2014 9:29 am
Hi to all,
I can't extract the items inside a return when I call a function. I have this kind of code:
The problem is that lItem1 = tResult . As said in the dictionnary, I should not need to set the itemDelimiter to comma in that case, right ?
So I wonder what's wrong with this script ? Any idea would be much appreciated
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
