Re: Inform v5.5 weirdness


19 Aug 1995 02:40:00 GMT

RTFM. If you write to a property an object does not have, it crashes.
Theproperty definition sets a default read value in the absense of an
object having the property. If every object has the oldlife property,
you must declare it in every object. Nuisance, perhaps. I doubt scenery
needs the oldlife property. And things that aren't alive like locations,
lumps of gold, etc. If you do not declare a property for an object at
compiletime, there is not space allocated for it. Object may not add
properties at run-time.

Sam Hulick (shulick@guava.ucs.indiana.edu) wrote:

: Has anyone run into this problem?

: I have this declared:

: Property oldlife NULL;

: WHich means that all objects will have NULL as the default. HOwever,
: when I actually go to set oldlife to something:

: something.oldlife = something.life;

: It crashes with internal error #23. I actualy have to declare 'oldlife
: NULL' within the object. Why? This seems silly..

: --
: --- Sam Hulick ------------- shulick@indiana.edu ---------------------
: Systems Consultant | Homepage:
: Indiana College Placement | http://copper.ucs.indiana.edu/~shulick/
: and Assessment Center | PGP public key available on request

--
============================================
Without my guitar, I am a poet without arms.
                        - Michael Bloomfield
============================================