The Dink Network

Reply to Re: variables

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 30th 2003, 06:14 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
I pulled it out of the DinkC Reference v3.1.

Anyway, its quite easy to verify. The save game format sets aside 4 bytes for the value of each variable. Each byte can hold up to 16 values. So 4^16 is 4,294,967,296, the total number of unique values each variable can hold. However, when you think of negative numbers and 0 (by dividing 4,294,967,296 by two for positive/negative, and subtracting one of the halves by 1 for the zero) then you get the numbers that I posted earlier.