Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-08

try except question

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Youngquist

I am using FPC in Turbo compatibility mode. When I include a TRY statement it generates an error. I am trying to trap an overflow exception and generate an error message.
I notice the TRY feature is not in the help file. I have read chapter 14 but find no way to enable
the TRY feature. Do I need to do something to get this going?

JY

Reply by email

Marco van de Voort
to John Youngquist

In our previous episode, John Youngquist said:

Show quoted text 6 lines
I am using FPC in Turbo compatibility mode. When I include a TRY statement it generates an error. I am trying to trap an overflow exception and generate an error message. I notice the TRY feature is not in the help file. I have read chapter 14 but find no way to enable the TRY feature. Do I need to do something to get this going?

Try is a feature from Delphi modi. Not from Turbo Pascal (the dos/win3.11 products). Turbo Pascal compability mode is not to be confused with the Turbo Delphi product that recycles the name. (but is in fact a Delphi, not a Turbo)

Reply by email