Re: Error Trapping

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bernie Ryan <bwryan at PCOM.NET> wrote:

>-- You don't need trap
>
>global procedure My_Procedure(sequence Obj)
>
>   -- take some corrective action or return and error condition
>   if obj = {} then
>     return -1
>   end if

I don't think that {} (an empty sequence) is equivalent to no value being
passed to a routine.  It still should bomb out when nothing is passed to it.
Confirmation?

Lewis Townsend


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu