www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Quick question

reply Shrapnel City Bughunter <Shrapnel_member pathlink.com> writes:
Does D support the "finally" clause that java has?
Mar 17 2005
next sibling parent Sebastian Beschke <s.beschke gmx.de> writes:
Shrapnel City Bughunter schrieb:
 Does D support the "finally" clause that java has?
 
 

-Sebastian
Mar 17 2005
prev sibling next sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Shrapnel City Bughunter wrote:

 Does D support the "finally" clause that java has?

As in try { } catch { } finally { } ? Yes, it does. http://www.digitalmars.com/d/statement.html#try --anders
Mar 17 2005
prev sibling next sibling parent Vathix <vathix dprogramming.com> writes:
On Thu, 17 Mar 2005 18:13:36 +0000 (UTC), Shrapnel City Bughunter  
<Shrapnel_member pathlink.com> wrote:

 Does D support the "finally" clause that java has?

Yes. This sounds like a digitalmars.D.learn question.
Mar 17 2005
prev sibling parent J C Calvarese <jcc7 cox.net> writes:
Shrapnel City Bughunter wrote:
 Does D support the "finally" clause that java has?

If you want to see how D compares to Java, you might want to look at these wiki pages: http://www.prowiki.org/wiki4d/wiki.cgi?NotesForProgrammersUsedTo/JavaLanguage "What D and Java have in common:" ... "Feature error handling using try-catch-finally" http://www.prowiki.org/wiki4d/wiki.cgi?JavaToD Has numerous examples of D syntax vs. Java syntax. -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Mar 17 2005