comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <jacob@jacob-sparre.dk>
Subject: Re: Help with type definition
Date: Fri, 16 May 2014 13:26:14 +0200
Date: 2014-05-16T13:26:14+02:00	[thread overview]
Message-ID: <87oayyotgp.fsf@adaheads.sparre-andersen.dk> (raw)
In-Reply-To: 1fg1g0pncjb4l$.1qve7hld7nxqv.dlg@40tude.net

Dmitry A. Kazakov wrote:

> Why -1 should indicate null string and not 0 is a mystery.

Possibly because it is considered relevant to distinguish between "no
string" and "an empty string".

Greetings,

Jacob
-- 
"The pictures on radio are always so much better than those on TV."
                                       -- Pratchet, Stewart & Cohen


  parent reply	other threads:[~2014-05-16 11:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  7:37 Help with type definition hanslad
2014-05-16  7:54 ` Dmitry A. Kazakov
2014-05-16 10:03   ` G.B.
2014-05-16 11:26   ` Jacob Sparre Andersen [this message]
2014-05-16 15:38   ` Shark8
2014-05-16 15:50     ` Simon Wright
2014-05-16 16:30       ` Shark8
2014-05-16 11:29 ` Jacob Sparre Andersen
2014-05-16 12:29 ` G.B.
2014-05-16 17:57 ` Jeffrey Carter
2014-05-21 20:45 ` hanslad
2014-06-27 22:05 ` hanslad
2014-06-28  7:26   ` Shark8
replies disabled

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