On Mon, 2002-03-11 at 08:42, Shirollah Ghadirian wrote: > I have one general question about C. > Is: > > nValue = nValue << 1; > > The same as: > > nValue <<= 1; > > Thank you in advance. > Yes. In general: v = n; where is an appropriate operator is equivalent to v = v n; /Kevin -- Kevin J. Maciunas Net: kevin@cs.adelaide.edu.au Dept. of Computer Science Ph : +61 8 8303 5845 University of Adelaide Fax: +61 8 8303 4366 Adelaide 5005 SOUTH AUSTRALIA Web: http://www.cs.adelaide.edu.au/~kevin Fingerprint = 7E5A A0C2 22BC 5993 17F2 93CE B1FD DEC6 D0C0 50CD -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.