Clear net-error

Q&A's, tips, howto's
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Clear net-error

Post by newdep »

Hi Lutz,

Is there a way to clear the (net-error) back to 'nil ?

When using more net-connections inside the code and more net-error
checks then (net-error) keeps always the last error.
Which will influence the other (net-error) check..

an option to clear-errors in newlisp would be nice add-on ;-)

Regards, Norman.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

any net-xxxx function, which sets 'net-error' also clears it to 'nil' when the functions finishing sucessful, so there shouldn't be any confusion.

Lutz

Locked