Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
// Declare variable
 int $inside = 1;
 
 // Shortcut for expression $inside = $inside + 9
 $inside += 9;
 
 // Shortcut for expression $inside = $inside –2
 $inside -= 2;
 
 // Shortcut for expression $inside = $inside 10
 $inside *= 10;
 print $inside;
 
 //declare variable
 vector $outside = <<2,2,2>>;
 
 // Shortcut for expression $outside += $outside + <<<<1,2,3>>
 $outside += <<1,2,3>>;
 print $outside;

Scroll pagebreak

Comparison operators

Anchor
Comparison
Comparison

...