Re: Small feature request for future EU versions
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 19, 2004
- 670 views
On Mon, 18 Oct 2004 21:18:27 -0400, Lucius Hilley <l3euphoria at bellsouth.net> wrote: > From: "Derek Parnell" > Sent: Sunday, October 17, 2004 9:36 PM > Subject: RE: Small feature request for future EU versions > > It seems that you would like equality (and relationship comparisions) > > implemented as built-in functions (eg. equal(), compare() ) and > > sequence operations performed by operators ('=', '<', etc...) > > > > Whereas I'd prefer the reverse situation. I'd like relationship > > comparisions to use operators and sequence operations to use built-in > > functions. > > > > I'd prefer that ... > > > > cond1 = (seq1 = seq2) > > > > to be interpreted as ... > > > > if the contents of seq1 and the contents of seq2 are identical then > > assign 'true' to cond1 otherwise assign 'false' to cond1. > > > > I agree with you here. > if (identical) then > TRUE > else > FALSE > end if I agree, logically it should work like that. I think that the behaviour of the 'if' construct should be changed, to automatically use equal() to check if the phrase seq1 = seq2 is used within an if statement. But... ONLY the if statement. -- MrTrick