Article View: borland.public.cppbuilder.nativeapi
Article #10879KEYWORD: __leave (what is the replacement?)
From: Vladimir Stefanovic
Date: Thu, 18 Mar 2004 13:55
Date: Thu, 18 Mar 2004 13:55
26 lines
1319 bytes
1319 bytes
This question may belong to some other newsgroup
...but I decided to post it here (API)
This is the sample code a got (API or VC++ I think):
__try
{
if ( /* something */ )
__leave;
}
__finally
{
// Cleanup ...
}
Questions:
1) Is the '__leave' keyword the same as 'throw',
and if not what is the replacement?
2) Is there any difference I should be aware of
between '__try' and 'try' keywords?
Best regards,
Vladimir.
Technical Details
Message-ID:
<4059ac51@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,da4f29b8926932b5,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-18 06:10:32 PST From: "Vladimir Stefanovic" <antivari@ptt.yu> Newsgroups: borland.public.cppbuilder.nativeapi Subject: KEYWORD: __leave (what is the replacement?) Date: Thu, 18 Mar 2004 14:55:59 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.147 Message-ID: <4059ac51@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079618641 213.137.116.147 (18 Mar 2004 06:04:01 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail