Re: [If/then and sequences...]

new topic     » topic index » view thread      » older message » newer message

I can understand the utility of this, but we already have this with compare.
OK, OK, technically, we could say the same thing about equal(), but

if not compare( a, b) then
...
end if

seems a lot more confusing than

if compare(a,b) < 0 then -- meaning a<0

And I don't think there's as much demand for the greater or less functions
than there is for equal.

Matt Lewis



> -----Original Message-----
> From: Derek Parnell
>
> It gives us a way of arbitrarily, yet consistently, ordering a set of
> sequences. In other words, it enables us to know with 100%
> accuracy, where a
> given sequence is in an ordered set of sequences. The rules
> employed to
> determine which of two sequences comes first is arguably
> immaterial, as long
> as they always work the same way.
>
> ----- Original Message -----
> From: "Ben Fosberg" <BenFosberg at ATT.NET>
>
> > What does it mean to say that one sequence is "greater
> than" or "less
> than" another sequence,
> > given that the constituent "elements" of a sequence could
> be of any data
> type, including
> > other sequences?
> >

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu