Free Pascal Tutorial 21 - Error Handling Try Except - Lazarus

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,811
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 10, 2010

The application used in Tutorials 18, 19, 20 crashes, or comes up with confusing error messages, if a non-number is entered into the calculator.

We can make this situation more user friendly by using an error catching technique.

Using Try - Except can stabilize the program and tell the user what is happening if an error occurs.

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • Steve Jobs didn't want to show you errors in Mac xD

  • i like your tutorials. very good work. looking forward for your vids

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • @Loitumaholic

    Derp. I'm stupid. Just delete finally and run your program INDEPENDANT of lazarus to make it work.

  • Hmm. Not sure if for everyone, but i think newest version produces a 'finally' command upon typing try, and changing it to suit this doesn't work. It compiles, but standard errors appear.

  • @jw200

    search strip

  • Empty form and almost 12MB EXE.

    Just crazy. Biggest problem with Lazarus.

  • What is wrong with that ? I found this tutorial very useful. Thanks.

  • i love your tuts but stop calling numbers to the videos... please

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more