'modulus - integer division ?
float a,b
int m
a=7:b=2
m=a % b
print str(m)
'modulus - integer division ?
float a,b
float m
a=7:b=2
m=mod(a,b)
print str(m)
'modulus -> integer division
If Look = "%"
Gosub getchar
iValue = Value \ Factor()
print "Modulo:" + str(iValue)
Value = iValue
End If
'modulus - integer division ?
float a,b
float m
a=7:b=2
m=a\b
print str(m) + " Ok"
function factor(float f) as float
float ff
ff=f+1
return ff
end function
m= a \ factor(1) 'use func factor()
print str(m) + " weird?"