自作関数を作ってみました。
#module #defcfunc IntAdd var varname, int varint varname = int(varname) varname = varname + varint return varname #defcfunc IntSubtraction var varname, int varint varname = int(varname) varname = varname - varint return varname #defcfunc DoubleAdd var varname, double vardouble varname = double(varname) varname = varname + vardouble return varname #defcfunc DoubleSubtraction var varname, double vardouble varname = double(varname) varname = varname - vardouble return varname #defcfunc CheakEvenOdd int number if number \ 2 = 0 : ans = 0 : else : ans = 1 return ans #defcfunc Rndint int Rnds, int Rnde repeat -1 randomize if Rnds < 0 : ans = -1 : break if Rnds > Rnde : ans = -1 : break ans = rnd(Rnde)+1 if ans >= Rnds : break loop return ans #global
どうでしょうか?アドバイスなどを教えて下さい!!