in reply to is $i=+3 valid?
As earlier answers suggested, you would use $i += 3 to add 3 to the value of $i.