[squeak-dev] return value of SerialPort>>openPort:
Markus Lampert
markuslampert at yahoo.com
Mon Mar 7 03:02:55 UTC 2011
Hi guys,
the current implementation does not give the user any indication if #openPort:
was successful or not. I would like to change that but am not quite sure about
the most useful implementation for everyone.
I came up with the following options:
- return true or false
- return self of nil
- raise an exception on failure (like #primitiveFailed)
Let me know what you think.
Have fun,
Markus
More information about the Squeak-dev
mailing list
|