View Full Version : HELP: i++
07-09-2005, 08:38 PM
How would you write the code another way ++?
I know how ex. i++ i=i+i, but don't know the above.
07-09-2005, 10:42 PM
please someone... :)
07-10-2005, 12:21 AM
sounds like a homework exercise... this should get you thinking in the right direction. :)
var index = sumOne()-1;
var tot = totalSum[index];
07-10-2005, 07:27 AM
thanks :) , can you write the code without the ++? :confused:
07-10-2005, 09:04 AM
tot++; is just a simple way of saying
tot = tot + 1;
Why do you want to avoid ++?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.