DivMod

Divde two numbers returning the quotient and the remainder.

Syntax: quotient,remainder = DivMod(a,b)

quotient Required: a / b
remainder Optional: a % b
If left out a / b is returned in quotient

Example:

x,y = DivMod(5,2)	' x=2 y = 1