🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16534

Re: try, __finally

#16534
From: Neil Duffee
Date: Mon, 05 May 2003 17:27
26 lines
2065 bytes
"Sam S. Firouz" wrote:
> According to the help file, "The __finally keyword specifies actions that
> should be taken regardless of how the flow within the preceding __try
> exits.". [snip]
> try
> {
> [snip]
> }
> __finally
> {
>     /* Do something */
> }

Aside from the comment about .cpp.language, you might read your own post
a little more closely for a possible solution.  The help file states
'__try' and your code has 'try'.

'course, this has likely been answered in the 2 intervening weeks in the
other newsgroup and I have *no* idea the difference 'tween the two types
of 'try' statements but...
---------->  signature = 5 lines follows <--------------
Neil Duffee, Joe Systems Guy, U d'Ottawa, Ottawa, Ont, Canada
telephone:1 613 562 5800 x4585             fax:1 613 562 5161
mailto:NDuffee at uottawa.ca    http://aix1.uottawa.ca/~nduffee
"How *do* you plan for something like that?" Guardian Bob, Reboot
"For every action, there is an equal and opposite criticism."
Technical Details
Message-ID: <3EB69EE5.CFFEF0F5@UOttawa.ca>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ea98e27@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b90d541d44cd5edf
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-05 10:48:36 PST
Message-ID: <3EB69EE5.CFFEF0F5@UOttawa.ca>
Date: Mon, 05 May 2003 13:27:01 -0400
From: Neil Duffee <No.Junk.E-Mail.to.NDuffee@UOttawa.ca>
Organization: U of Ottawa, Computing & Comm Serv, Computer Centre
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en,fr-CA
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: try, __finally
References: <3ea98e27@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 137.122.170.245
X-Trace: newsgroups.borland.com 1052155624 137.122.170.245 (5 May 2003 10:27:04 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail