comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Comparing version numbers
Date: Mon, 13 Nov 2017 18:22:35 +0100
Date: 2017-11-13T18:22:35+01:00	[thread overview]
Message-ID: <ouckcu$5gc$1@gioia.aioe.org> (raw)
In-Reply-To: oucfat$1qrb$1@gioia.aioe.org

On 2017-11-13 16:56, Victor Porton wrote:

> But what is the difference between Compare_Textually and
> Compare_Lexicographically?

Numerals in the text are ordered according to their values. E.g. if you 
wanted to order files or versions by numbers in their names.

> "This function compares two strings as texts." What does "compares as text"
> mean?

Numerals in the text are equal. E.g. if you wanted filter out all 
versions of the same package or all numbered files.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2017-11-13 17:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13  2:39 Comparing version numbers Victor Porton
2017-11-13  5:15 ` J-P. Rosen
2017-11-13  8:04   ` briot.emmanuel
2017-11-13 11:11     ` Simon Wright
2017-11-13 21:30       ` briot.emmanuel
2017-11-13  8:10 ` Dmitry A. Kazakov
2017-11-13 15:56   ` Victor Porton
2017-11-13 17:22     ` Dmitry A. Kazakov [this message]
2017-11-13 18:54       ` Victor Porton
2017-11-13 20:25         ` Dmitry A. Kazakov
2017-11-16 15:33 ` Robert Eachus
2017-11-17 14:45 ` 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