[Date Index] [Thread Index] [Author Index]
Re: Evaluation details
Mumbo Jumbo wrote: > Hello, > > I am quite puzzled why a Mathematica statement > x=x+1; > causes infinite recursion. Since the ducumentation states that the lhs of > this statement is not evaluated, it seems to me that the evaluation of the > rhs should not lead to recursive evaluation. > TIA, Yuri. Mathematica evaluates expressions for as long as there are rules applying to them. x = x+1 evaluates to x+1, which then evaluates to x+1+1, etc. The ; only prevents printing, not evaluation.