Well in my spare time I have done a number of things.
1: it snowed
last night - and as is customary in this country - we had a
snowball fight
today which was fun, and then rapidly slid down hill to
being just pretty
darn cold :-). 2: watched Mission Impossible 2 again
- I have to say
that it's not as good as the first one, but I still like it.
3:
been doing some hacking on ferite.I have added
error handling
, break, continue, and super to it's
list of accolades.
super, break, and continue work as you would expect. error
handling is a
some what different kettle of fish. Here is an example:
iferr {
... code to check for
errors goes here ...
} fix {
... code to fix any errors
goes here ...
(there is an error object err that has
two attributes errstr and errno)
} [ else {
... code to be run if
there wasn't an error ...
} ]
The code within the square brackets is no compulsory to use the error handling. If an error occurs the error will be propogated up until an error handler catches it - if not the script will end. I am currently converting the rest of the engine to throw exceptions rather than hard errors.
