10. File IO. Readers, Writers, Exceptions (try, catch). IO Streams.
There are no files in the RCX. Kind of hard with only 32k ram.
One would probably be able to make an abstraction for using the
IR port with Readers and Writers. But none of that work has been
done (nor are there any current plans to do so, AFAIK).
There aren't any classes which really throw things. The VM does throw
some exceptions. If someone dues build an abstraction for using the IR,
one could very easily add in exceptions.
The "current" list of exceptions:
ArithmeticException
ArrayIndexOutOfBoundsException
ClassCastException
ClassNotFoundException
Exception
NullPointerException
RuntimeException
If this is made, an idea would be to get students to work together
to have the RCX talk to eachother.
Honours Project: have the RCX talk to a handheld PDA.
© Copyright 2000 By Joel Adams, Ryan VanderBijl.
Lisenced under the GPL. You may use it, but we would like you to
share any ideas, etc with us and the world.