Re: [tkined] problems w/ snmp get request on winNT/win95?

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 10 Apr 1998 18:44:14 +0200

>>>>> Debby Stopp writes:

Debby> When I try to access a mib variable w/an invalid instance, the
Debby> get request returns "noSuchName 1 ...", which would be fine if
Debby> all execution of my script didn't stop...

This is how Tcl works. The command throws an error, which causes the
interpreter to stop. If you want to handle the error, you have to use
the Tcl catch command. See your favourite Tcl documentation on how Tcl
works.

Debby> in addition, if I try to assign a variable to the return value
Debby> of the get request, nothing gets assigned.

I don't understand this question.

Debby> is this a bug?...

Definitely not.
Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3283)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.