[ENH] SerialPort, remember them?
David N. Smith (IBM)
dnsmith at watson.ibm.com
Wed Jun 28 00:04:48 UTC 2000
Hi:
I've been playing with serial ports on my Powerbook G3 and I discovered some not so nice actions in class SerialPort. If the port is in use elsewhere, trying to open it gets a Primitive Error.
I'd rather have my code get back some indication that the port didn't open, so I made some small mods to SerialPort, which are attached. Basically, primitives used during open answer nil if they fail, and the open method answers nil also.
Dave
-------------- next part --------------
Skipped content of type multipart/appledouble-------------- next part --------------
_______________________________
David N. Smith
IBM T J Watson Research Center
Hawthorne, NY
_______________________________
Any opinions or recommendations
herein are those of the author
and not of his employer.
More information about the Squeak-dev
mailing list
|