Recently, "Alex Rice"  wrote:

> on testIt p1, p2
>  if p1 + p2 = 0 then
>    return "bad parameters"
>  else
>    -- do stuff
>    return empty
>  end if
> end testIt
> 
> Why does this handler throw an error when called like this?

Try changing "return" to "answer" or "put".

Otherwise, change "on testIt" to "function testIt".

I believe the word "return" is reserved for functions, not handlers.

Both changes work on this end.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to