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

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

On Tue, 29 Aug 2000, you wrote:
> Agreed Matt. I'll never support a greater_than/less_than function. In fact,
> I can't understand the rationale behind compare() and equal() either. To me,
> it seems a lot more intuitive just to use the '=', '<', '>' symbols with
> sequences. I can't understand Robert's idea that using these symbols with
> sequences is a bad thing.
>
> So what's the big deal with ...
>
>  sequence A,B
>
>  if A = B then ....

Run this little program, look at the output, and see why we might want  = to do
what it does...

sequence a,b
a = {"Mary","Joe","Tim","Sue","Arnold"}
b ={"Mary","Moe","Tom","Sue","Arnold"}

? equal(a,b)
? compare(a,b)
? a = b

--
--Regards,
--Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu