When I loaded your code, I got an entirely different error message. However, at a cursory glance, the error that you're reporting is due to your writing to the STDOUT stream after closing it.
On another note, you might want to format your code a little better to make it easier for others to review. You're using some rather odd coding structures...
--roboticus
In reply to Re: using format twice
by roboticus
in thread using format twice
by zer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |