Error Handling

BlitzPlus Forums/BlitzPlus Beginners Area/Error Handling

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.

Greetings everyone,

Currently, I am remaking a Delphi tutorial with BlitzPlus and it's going quite well. But I've hit a seemingly dead-end; I need to know how to handle a type conversion error.

You see, I am making a Celcius<->Fahrenheit converter, and there is a textbox where you have to put the degrees you want to convert. Now, what will happen when the user puts in a string? It should give an error.

How would I do this?