This is the Pascal version of the Try catch stack overflow. Use the try catch block used in tcso.pas. You can use it in your projects. Please don't forget to make improvements and submit a new pull request.
- Download the Compiler and download the IDE
- Compile the program
fpc tsco.pas
- Run the program
If you encounter an error related to the compiler not finding LclIntf, it means the compiler didn't find the LclIntf unit and you may need to reinstall to fix the issue (Since you use Pascal for GUI purposes mostly anyways)
If you can't be bothered doing this, you can removed LclIntf from the uses clause (don't keep the dangling comma btw) and change OpenURL to writeln.
Developed by: Richard Orilla
- {your-name-here}