Blockland Forums > Modification Help

Basic Math Problems

Pages: << < (4/4)

Blocki:


--- Quote from: Port on April 28, 2012, 06:10:39 AM ---you make me want to hit myself with a variety of blunt and sharp objects repeated several times

--- End quote ---
Then do it again

Ipquarx:

$var += %othervar;
$var -= %othervar;
$var *= %othervar;
$var /= %othervar;
$var %= %othervar;
+    add
-     subtract
*    multiply
/     divide
%   modulus (remainder)

Kaphonaits:


--- Quote from: phflack on April 26, 2012, 08:29:55 PM ---i think the second one would've worked too with a semicolon
in java {} are used by for/while/if and other statements, but can also stand alone, so i'd assume it'd not affect anything here either

--- End quote ---
And in about a hundred other programming languages, yes.

Pages: << < (4/4)

Go to full version