| Author |
Message |
victorf
Joined: 01 Jan 2006
Location: Schenectady, New York
|
|
Posted: 12 March 2006, 2:41 AM Post subject: Documentation for Mod? |
|
|
I searched the ZBasicRef and ZBasicSysLib as well as the ZBasic forum but did not find mention of the routine Mod. Have I missed it? If it is not documented, would someone be kind enough to define it precisely for me
BTW: I DO know and have used Mod in other languages and dialects but I would like to be sure I understand it's use in ZBasic.
Any enlightenment will be appreciated.
Vic |
|
| Back to top |
|
 |
mikep
Joined: 24 Sep 2005
Location: Austin, TX
|
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Location: Portland, OR
|
|
Posted: 12 March 2006, 11:30 AM Post subject: |
|
|
| Mod is an operator similar to the division operator. The result is the remainder of dividing the left operand (dividend) by the right operand (divisor). For signed operands, the result will have the same sign as the dividend. |
|
| Back to top |
|
 |
|