GFreak45
I didnt slap you, i high 5'd your face.
- Reaction score
- 130
what im meaning is something like this:
JASS:
function DynamicScript takes code c, real r returns real
return c(r)
endfunction
function UseDS takes nothing returns nothing
local real r = DynamicScript(function SquareRoot, 4.0)
endfunction
function UseDS2 takes nothing returns nothing
local real r = DynamicScript(function Cos, 360.0)
endfunction