what is the meaning of this : total += number

total += number
Last edited on
total = total + number, pretty sure.

Try both and see if they are the same
Last edited on
total=total+number
variableOne @= variableTwo
is the same as
variableOne = variableOne @ variableTwo

where @ is
+, -, /, *, %, <<, >>, |, ^, and &

i might have missed a few
Thanks,.... ^^
Topic archived. No new replies allowed.