Could you please help me understand why this statement is incorrect (from a quiz). For some reason I can't see a problem.
if total = 140 then status EQ 'works';
Thanks!
Could you please help me understand why this statement is incorrect (from a quiz). For some reason I can't see a problem.
if total = 140 then status EQ 'works';
Thanks!
eq
is the comparison equals operator, not the assignment equals operator.=
performs both roles.So,
would be perfectly legal.