Re: Rob: Out of memory + broken shorthand assignment operators in expressions
- Posted by cklester <cklester at yahoo.com> Nov 18, 2005
- 444 views
Vincent wrote: > > I discovered an issue that has to do with assignment operators > failing to work in conditional or loop expressions. My guess > is that this been a issue since they were introduced in > Euphoria v2.1. I don't think they fail to work. If you code if x = x + 1 then... Well, 'x' doesn't equal 'x + 1' so the condition fails. And coding this: > if i += 1 then > end if is like coding this: if puts(1,"Hello") then... -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/