Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
The interpreter only needs to consider the LHS of the expression for the context to determine if the "=" is being used for comparison or assignment - the RHS always simplifies to a value so isn't significant.