[fpc-pascal] Resourcestring questions

2007-09-13 Thread Adriaan van Os
FPCs resourcestring feature is a great way to localize applications, yet I have the following questions. 1. The tutorial at gives the following example resourcestring Caption1 = 'Some text'; HelloWor

[fpc-pascal] fpGUI (a Free Pascal GUI Library) version 0.5 has been released

2007-09-13 Thread Graeme Geldenhuys
Hi, fpGUI version 0.5 has been released. This is the first release since the rewrite. A lot has been improved and added. For one, fpGUI now has it's own GUI Designer. Loads of new widgets have also been created. Source and documentation are available for download at SourceForge: http://sourcef

Re: [fpc-pascal] Halt() bypassed try..finally block

2007-09-13 Thread Graeme Geldenhuys
On 13/09/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Is that correct behavior? When calling Halt() somewhere inside a > > try..finally block, it _doesn't_ execute the finally code. > > This is by design. > > Halt finalizes the units and then exits. Thanks. I'll make a mental note t

Re: [fpc-pascal] Halt() bypassed try..finally block

2007-09-13 Thread Matt Emson
Michael Van Canneyt wrote: On Thu, 13 Sep 2007, Graeme Geldenhuys wrote: Hi, Is that correct behavior? When calling Halt() somewhere inside a try..finally block, it _doesn't_ execute the finally code. This is by design. Halt finalizes the units and then exits. Yeah, I always used

Re: [fpc-pascal] Halt() bypassed try..finally block

2007-09-13 Thread Michael Van Canneyt
On Thu, 13 Sep 2007, Graeme Geldenhuys wrote: > Hi, > > Is that correct behavior? When calling Halt() somewhere inside a > try..finally block, it _doesn't_ execute the finally code. This is by design. Halt finalizes the units and then exits. Michael.

[fpc-pascal] Halt() bypassed try..finally block

2007-09-13 Thread Graeme Geldenhuys
Hi, Is that correct behavior? When calling Halt() somewhere inside a try..finally block, it _doesn't_ execute the finally code. In fpGUI I used Halt() to terminate the event loop and exit a application. I then noticed that NO cleanup code gets executed after that call. Not objects get freed via