Latest OxygenBasic.zip at GitHub (Click on the Wizard)
0 Members and 1 Guest are viewing this topic.
'modulus - integer division ?float a,bint ma=7:b=2m=a % bprint str(m)
'modulus - integer division ?float a,bfloat ma=7:b=2m=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,bfloat ma=7:b=2m=a\bprint str(m) + " Ok"function factor(float f) as floatfloat ffff=f+1return ffend functionm= a \ factor(1) 'use func factor()print str(m) + " weird?"