help file says:
You can also optionally specify a return value which will be stored in the $result identifier. The $result can then be used in the calling routine.
/return [value]
I try playing with it, by doing this:
test_one {
$test_two($1,$2)
echo -a $result
}
test_two {
if ($1 isin $2) {
return true
}
else {
return false
}
}
and typing /test_one i is
and i get:
TRUE Unknown command
-
* /echo: insufficient parameters (line 3, aliases3.ini)
what am i doing wrong here? i should be getting "true" echo'd into my active window, but i'm not. i'm just using it as the help file said, and it doesn't seem to be working
any idea what's going on?