Xref: utzoo comp.sys.hp:2646 comp.lang.pascal:2211
Path: utzoo!attcan!uunet!mcvax!hp4nl!phigate!prle!prles2!prleh3!peter
From: peter@prleh3.prl.philips.nl (Peter van Hooft)
Newsgroups: comp.sys.hp,comp.lang.pascal
Subject: Re: No line number for HP Pascal runtime errors
Keywords: Pascal, HP-UX, error
Message-ID: <652@prles2.UUCP>
Date: 12 Aug 89 10:53:46 GMT
References: <248@bnrunix.UUCP>
Sender: nobody@prles2.UUCP
Reply-To: peter@prleh3.prl.philips.nl (Peter van Hooft)
Organization: Philips Research Labs Eindhoven
Lines: 19

In article <248@bnrunix.UUCP> rick@bnrunix.UUCP (Richard Johns X7191) writes:
>I'm using Pascal under HP-UX 6.5 on a series 300.
>
>Why is it any runtime error message I get has a line number of 0, as in:
>
>	ERROR -5 IN LINE 0. Divide by zero.
>

Try:

$debug$
program test(input, output);

etc.

Isn't that obvious ;-) ? Unfortunately, this option doesn't really debug
your code. Perhaps in HP-UX 7.0 :-)

peter.