Would be nice to have this.
Activity
bsturk commentedon Jan 7, 2025
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.
dmsc commentedon Jan 8, 2025
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!