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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -