TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: SAM PAULSON
from: SID LEE
date: 1996-03-01 11:25:00
subject: PB equivalent for MOD?

 -=> Quoting Sam Paulson to All <=-
 SP> What is the PowerBASIC equivilent of QuickBasic's MOD keyword for
 SP> finding the remainder after dividing a number?
 MOD is the same in PB. "5 MOD 2 = 1" and "9 MOD 10 = 9" ;-) Pb
 also has the "\" operator which does integer division, That is
 "23\8 = 2"
 -- Regards --
 
--- Blue Wave/Max v2.12
---------------
* Origin: RASCAL BBS [Calgary, Alberta - (403)686-2550] (1:134/122)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.