I'm trying to do a simple error trap:

try
   addNew()
catch err
  put "You got error: " & err
end try

This script won't compile and it says the error is the "catch" statement.

The docs say that try has to be on a line by itself (which I've done). The docs give NO EXAMPLE CODE so I can't see from them what I'm doing wrong.

Any ideas or pointers to where I can look?

Thanks,

Len Morgan

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to