Hide minor edits - Show changes to markup

September 01, 2015, at 10:05 AM
by

- Changed line 14 from:

x %= y; // equivalent to the expression x = x % y;

to:

x %= y; // equivalent to the expression x = x % y;

Changed line 30 from:

x %= 5; // x now contains 0

to:

x %= 5; // x now contains 0

September 01, 2015, at 10:05 AM
by

- Changed line 14 from:

x %= y; // equivalent to the expression x = x % y;

to:

x %= y; // equivalent to the expression x = x % y;

September 01, 2015, at 10:03 AM
by

- Changed lines 1-2 from:

to:

Added line 14:

x %= y; // equivalent to the expression x = x % y;

Added line 30:

x %= 5; // x now contains 0

July 16, 2007, at 12:50 PM
by

- Deleted line 33:

Added lines 36-37:

July 16, 2007, at 12:48 PM
by

- Added line 19:

July 16, 2007, at 12:47 PM
by

- Deleted line 18:

July 16, 2007, at 12:47 PM
by

- Deleted line 19:

July 16, 2007, at 12:47 PM
by

- Changed lines 18-20 from:

x: any variable type \\

to:

x: any variable type

July 16, 2007, at 12:47 PM
by

- Changed line 18 from:

x: any variable type\\

to:

x: any variable type \\

July 16, 2007, at 12:46 PM
by

- Changed lines 18-20 from:

x: any variable type //y: any variable type or constant

to:

x: any variable type\\ y: any variable type or constant

July 16, 2007, at 12:46 PM
by

- Changed lines 19-20 from:

\\y: any variable type or constant

to:

//y: any variable type or constant

July 16, 2007, at 12:45 PM
by

- Changed lines 18-19 from:

x: any variable type \\y: any variable type or constant

to:

x: any variable type \\y: any variable type or constant

July 16, 2007, at 12:45 PM
by

- Changed lines 18-20 from:

x: any variable type\\ y: any variable type or constant

to:

x: any variable type \\y: any variable type or constant

July 16, 2007, at 12:45 PM
by

- Changed line 18 from:

x: any variable type

to:

x: any variable type\\

July 16, 2007, at 12:45 PM
by

- Changed line 26 from:

x *= 10; // x now contains 30

to:

x *= 10; // x now contains 30

July 16, 2007, at 12:44 PM
by

- Changed lines 5-6 from:

Perform a mathematical operation on a variable with another constant or variable. The += (et al) operators are just a convenient shorthand for the expanded syntax below.

to:

Perform a mathematical operation on a variable with another constant or variable. The += (et al) operators are just a convenient shorthand for the expanded syntax, listed below.

Changed lines 10-13 from:

x+=2; // equivalent to the expression x = x + 2; x-=2; // equivalent to the expression x = x - 1; x*=2; // equivalent to the expression x = x * 2; x/=2; // equivalent to the expression x = x / 2;

to:

x += y; // equivalent to the expression x = x + y; x -= y; // equivalent to the expression x = x - y; x *= y; // equivalent to the expression x = x * y; x /= y; // equivalent to the expression x = x / y;

Changed lines 18-19 from:

x: any variable type

to:

x: any variable type y: any variable type or constant

Changed lines 24-27 from:

x++; // x now contains 3 x--; // x contains 2 again@]

to:

x += 4; // x now contains 6 x -= 3; // x now contains 3 x *= 10; // x now contains 30 x /= 2; // x now contains 15 @]

July 16, 2007, at 12:27 PM
by

- Added lines 1-31:

Perform a mathematical operation on a variable with another constant or variable. The += (et al) operators are just a convenient shorthand for the expanded syntax below.

x+=2; // equivalent to the expression x = x + 2; x-=2; // equivalent to the expression x = x - 1; x*=2; // equivalent to the expression x = x * 2; x/=2; // equivalent to the expression x = x / 2;

x: any variable type

x = 2; x++; // x now contains 3 x--; // x contains 2 again