thinking cap
#42
Hi,

Whenever you enter a new level, the current level is stored away in a compressed form somewhere else and the new level is initialized . . . (emphasis mine)

That was my error. I was under the mistaken impression that the initialization of the level occurred when the game was started and the results of that initialization where stored away. Having it re-occur each time a level is *entered* explains why visiting other levels eventually "randomizes" the effects.

Thanks,

--Pete

Aside to Van. Null and zero are indeed different. In principle null means (none, empty, etc.) However, a memory location must contain some bit pattern. So, for instance, when a pointer is allocated as pointing to "null", it does not mean that it points nowhere (a literal implementation of the mathematical "null"). The pointer points to whatever location happens to be the address of the bit patter that resides in it's allocated storage. Now, this may be a valid location, it may be a "hole" in memory, it might be some ROM, or it might be something used by a memory mapped I/O device.

When a copy or move operation is performed, the contents of registers assigned to pointers that are pointing to "null" are copied. Whatever random information was in those locations before the copy/move will be in the image locations after. "Nulls" are moved just like everything else.

So, in a real sense, "null" in computers is more like "unknown" than like "nothing".

BTW, my commiseration to your wife, sounds like she's got two "children" to raise ;)

--Pete

How big was the aquarium in Noah's ark?

Reply


Messages In This Thread
thinking cap - by jet - 03-08-2003, 03:39 AM
thinking cap - by the Langolier - 03-08-2003, 04:57 AM
thinking cap - by Virgil Tibbs - 03-08-2003, 06:31 AM
thinking cap - by !!SaLtMaN!! - 03-31-2003, 01:48 AM
thinking cap - by LemmingofGlory - 03-31-2003, 02:42 PM
thinking cap - by --Pete - 03-31-2003, 03:24 PM
thinking cap - by !!SaLtMaN!! - 04-01-2003, 12:30 AM
thinking cap - by Elric of Grans - 04-01-2003, 01:06 AM
thinking cap - by --Pete - 04-01-2003, 01:17 AM
thinking cap - by LemmingofGlory - 04-01-2003, 01:25 AM
thinking cap - by Elric of Grans - 04-01-2003, 01:33 AM
thinking cap - by --Pete - 04-01-2003, 01:46 AM
thinking cap - by LemmingofGlory - 04-01-2003, 02:31 AM
thinking cap - by !!SaLtMaN!! - 04-02-2003, 04:41 AM
thinking cap - by the Langolier - 04-02-2003, 08:30 AM
thinking cap - by Jarulf - 04-02-2003, 12:22 PM
thinking cap - by --Pete - 04-02-2003, 09:50 PM
thinking cap - by !!SaLtMaN!! - 04-03-2003, 10:58 PM
thinking cap - by Vandiablo - 04-04-2003, 06:41 AM
thinking cap - by Elric of Grans - 04-04-2003, 06:55 AM
thinking cap - by Vandiablo - 04-04-2003, 07:29 AM
thinking cap - by Jarulf - 04-04-2003, 07:58 AM
thinking cap - by Thecla - 04-04-2003, 10:42 AM
thinking cap - by --Pete - 04-04-2003, 03:15 PM
thinking cap - by LemmingofGlory - 04-04-2003, 06:07 PM
thinking cap - by Jarulf - 04-04-2003, 07:58 PM
thinking cap - by Thecla - 04-05-2003, 02:28 AM
thinking cap - by --Pete - 04-05-2003, 03:02 AM
thinking cap - by Vandiablo - 04-05-2003, 07:21 AM
thinking cap - by Thecla - 04-05-2003, 08:31 AM
thinking cap - by --Pete - 04-05-2003, 04:00 PM
thinking cap - by Bolty - 04-05-2003, 06:31 PM
thinking cap - by Jarulf - 04-05-2003, 08:12 PM
thinking cap - by --Pete - 04-05-2003, 08:42 PM
thinking cap - by Vandiablo - 04-06-2003, 06:03 AM
thinking cap - by Elric of Grans - 04-06-2003, 07:20 AM
thinking cap - by Jarulf - 04-06-2003, 08:58 PM
thinking cap - by Thecla - 04-06-2003, 11:27 PM
thinking cap - by Vandiablo - 04-07-2003, 08:05 AM
thinking cap - by Elric of Grans - 04-07-2003, 08:09 AM
thinking cap - by Jarulf - 04-07-2003, 04:33 PM
thinking cap - by --Pete - 04-07-2003, 05:51 PM
thinking cap - by Vandiablo - 04-15-2003, 04:38 AM
thinking cap - by Zenda - 04-16-2003, 02:15 PM
thinking cap - by Dixen Andomiel - 04-17-2003, 06:28 AM
thinking cap - by Yogi_Baar - 04-17-2003, 07:19 AM
thinking cap - by Cytrex - 04-17-2003, 10:36 AM
thinking cap - by LemmingofGlory - 04-18-2003, 02:05 AM
thinking cap - by Vandiablo - 04-18-2003, 06:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)