thanks!

michael


At 11:19 AM 1/3/2002 +1100, you wrote:
On Wed, Jan 02, 2002 at 06:13:30PM -0600, jester wrote:
> iHash = value % MAX_KEY_HASH;

You could have found it in your C manual, which should be standing
next to your monitor and below your GDB reference card.

% is the modulo operation, which returns the left overs from a
divide operation. Like 10 % 2 = 0, 10 % 3 = 1, 10 % 4 = 2, 10 % 5
= 0, 10 % 6 = 4, 10 % 7 = 3, 10 % 8 = 2, 10 % 9 = 1.

Edwin

--
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to