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

Hi all,  just thought I'd add something to this debate. When I was beginning
with Euphoria I tried sequence=sequence, found that it didn't work and
discovered equal(), then thought no more of it.
I like declaring my own functions - if Euphoria decided if sequence x was
less than sequence y I wouldn't remember what defined "less than"!
But I can also see the benefit of using "<",">","=" etc. I guess it's just
personal taste.
Why not make Euphoria capable of both though?  I can't see that it would
break old code (I could be wrong). If people want to remember another set of
rules they can, if they don't, they don't have to.
Would this slow the interpreter down Robert?


Kind Regards,
Aidan


P.S  Robert, perhaps the error message "If/then condition must be an atom"
should be changed to "If/Then condition is not an atom".

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu