How does Try/Catch work?

BlitzMax Forums/BlitzMax Programming/How does Try/Catch work?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

So I have to 'Throw' the error-potential for it to be caught (using Plash's example)? I'll have a look-see at your example.
Uh, no. That's not what I intended, I was just trying to show you how it works. You can just accept the exception as an object and type-cast it to figure out which kind of stream error it is.