comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: "NULL" returned by a function
Date: Fri, 08 Aug 2014 15:50:12 -0700
Date: 2014-08-08T15:50:12-07:00	[thread overview]
Message-ID: <ls3k74$h2m$1@dont-email.me> (raw)
In-Reply-To: <ls3hi2$68q$1@speranza.aioe.org>

On 08/08/2014 03:04 PM, Victor Porton wrote:
>
> But should I use a variant record EVEN IN THE CASE IF my data type T allows
> to store null values in it?

Probably not. But if you're writing Ada, and not pointer-heavy-language-in-Ada, 
then you're unlikely to be using access types.

-- 
Jeff Carter
"We call your door-opening request a silly thing."
Monty Python & the Holy Grail
17


  reply	other threads:[~2014-08-08 22:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08 21:10 "NULL" returned by a function Victor Porton
2014-08-08 21:19 ` Jeffrey Carter
2014-08-08 22:04   ` Victor Porton
2014-08-08 22:50     ` Jeffrey Carter [this message]
2014-08-09 12:45   ` Victor Porton
2014-08-09 15:13     ` Jeffrey Carter
2014-08-08 21:25 ` Shark8
2014-08-09 16:15 ` Maciej Sobczak
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox