From: tmoran@acm.org
Subject: Re: Put_Line for chars_ptr
Date: Sun, 23 Jun 2002 02:13:27 GMT
Date: 2002-06-23T02:13:27+00:00 [thread overview]
Message-ID: <a9aR8.56$U67.17749105@newssvr13.news.prodigy.com> (raw)
In-Reply-To: slrnaha10h.102.adi@drcomp.erfurt.thur.de
> via Value(varname.sysname) & ... &... it cannot handle a null-pointer
> (raise Dereference-Error).
What else should Value(null pointer) do? How about using something like:
function S(Item : in chars_ptr) return String is
begin
if Item = Null_Ptr then return "?";
else return Value(Item);
end S;
next prev parent reply other threads:[~2002-06-23 2:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-22 23:11 Put_Line for chars_ptr Adrian Knoth
2002-06-23 2:13 ` tmoran [this message]
2002-06-23 9:20 ` Adrian Knoth
2002-06-23 11:57 ` Sergey Koshcheyev
2002-06-23 13:09 ` Adrian Knoth
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox