Chaosy
Tutorial Reviewer
- Joined
- Jun 9, 2011
- Messages
- 13,219
sup, I did the assinment but yeah I didn't like your script I hope you dont mind so I created my own little function and it works just as it should.
JASS:
globals
integer a = 1
integer b = 2
integer c = 3
integer d = 4
integer e = 5
integer f = 6
integer SomeOddMath
endglobals
function IHateMath takes nothing returns nothing
set SomeOddMath = f / e * d / c * b - a
call BJDebugMsg(I2S(SomeOddMath))
call BJDebugMsg(I2S(a))
call BJDebugMsg(I2S(b))
call BJDebugMsg(I2S(c))
call BJDebugMsg(I2S(d))
call BJDebugMsg(I2S(e))
call BJDebugMsg(I2S(f))
endfunction