fastbasic
fastbasic copied to clipboard
Support for TRAP statement
Would be nice to have this.
Is there a way to emulate this in FastBASIC? I'm porting some code and it isn't behaving the same due to the missing TRAP functionality.
Hi!
FastBasic does not have a TRAP statement because it has a different model for how to react to errors.
You should use the ERR() function after each I/O operation (or other statement that can generate an error) and react accordingly.
If you want to post a code snippet I can help you convert to the FastBasic way.
Have Fun!