www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/25/06:34:03

Message-ID: <381423EF.F9ACD5C8@Maths.UniNe.CH>
Date: Mon, 25 Oct 1999 11:33:36 +0200
From: Gautier <Gautier DOT deMontmollin AT Maths DOT UniNe DOT CH>
X-Mailer: Mozilla 4.51 (Macintosh; I; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: exception handling.
References: <9408373424461-2509424461s9800973 AT student DOT rau DOT ac DOT za>
NNTP-Posting-Host: mac13-29.unine.ch
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> this might be a stoopid Q, but is there any way to do exception
> handling in DJGPP?  been trying to get it to work but to no avail.

It depends on the front-end. On the one I know (Ada95) the
standard stuff like

begin
 ...
 raise xyz;
 ...
exception
  when name_error=> ...
end;

and exceptions with messages do work nice.

-- 
Gautier

_____\\________________\_______\_________
http://members.xoom.com/gdemont/gsoft.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019