actionscript 3 - Meaning of the += operator when using a function? -


if see this:

myvariable += myfunction(); 

how work? like, example, myfunction() function supposed return value added myvariable?

that's correct. myfunction() evaluated first, (e.g., it'll run , return value), return value added myvariable.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -