I am sure people whith programming experience should know answer to the question.
Could you explain in human language the difference between pre-increment and post-increment operators.
After I read the examples in Flash5 help I got even more confused. I don't understand why i++ returns the value of i instead of i+1 and why in (Flash help) i++ in while loop is considered pre-increment operator.
<BLOCKQUOTE><font size="-1">quote:</font><HR>
Quote:
The following example uses ++ as a pre-increment operator with a while statement.

i = 0
while(i++ < 5){
// this section will execute five times
}
<HR></BLOCKQUOTE>

I know it should be very simple, I am just missing something [img]/infopop/emoticons/icon_redface.gif[/img]
Any help would be much appreciated.