delorie.com/archives/browse.cgi | search |
Message-ID: | <380A226A.46BB84A@surfree.net.il> |
Date: | Sun, 17 Oct 1999 21:24:26 +0200 |
From: | Borja Aranovic <spile_nomaed AT surfree DOT net DOT il> |
X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: "mod" in Pascal equivalent to %?? |
References: | <7uamr7$ot8$1 AT ctb-nnrp2 DOT saix DOT net> |
NNTP-Posting-Host: | 212.3.203.91 |
X-NNTP-Posting-Host: | 212.3.203.91 |
X-Trace: | 17 Oct 1999 21:24:01 +0200, 212.3.203.91 |
Lines: | 28 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Yea, you right, 'MOD' = '%' Borja Aranovic. Stefan Viljoen wrote: > Hi All, > > Am I correct in the assumption that the DJGPP (or C?) equivalent for the > "mod" that you find in say, this line of Pascal > > total := whatever mod sum; > > is > > total = whatever % sum; > > Is this correct? Is "%" equivalent to "mod" (modulo?) If not, what is > equivalent? > > Fanx! > > -- > This message courtesy of > RylanNet rylan AT intekom DOT co DOT za > http://home.intekom.com/rylan/ > -- > StarWars for ever!.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |