At 01:08 PM 04/06/2013, you wrote: > >>Line 8. Should be i++ not ++i > > > > This is a pre-increment rather than post-increment, so you start > > with 1 rather than 0. Not wrong. If you wanted to use i++ you'd > > have to start with i =3D 1. > >If I understand correctly, that would only be the case if the ++i or >i++ was used in a compound statement. In this case there is no >difference between the two at all. Yes, you're absolutely right, and it does not start with 1, rather it starts with argument 0, which is usually the executable name (maybe including path stuff). --sp --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .