Re: why is it always an endless loop? [message #186142 is a reply to message #186140] |
Mon, 16 June 2014 16:19 |
Derek Turner
Messages: 48 Registered: October 2010
Karma:
|
Member |
|
|
On Mon, 16 Jun 2014 12:06:26 -0400, richard wrote:
> As soon as $b is changed, they are no longer equal, yet the loop
> continues.
> This does not happen in BASIC.
> If it is placement, where then should $b be placed?
because ($a=$b) sets $b to the same as $a and returns true. That's not
what you were trying to do, was it. And you have been told this a thousand
times before, haven't you?. And WTF has basic, which has different syntax
altogether got to do with it. HINT if you want to use PHP then write code
in (correct) php syntax.
|
|
|