This might be an advanced place to start, but I only learn by practical example, so here goes… how do you create an instance of an object? The example in the manual assumes use of I6 only and that the conditions for the creation event are very specific. I’m trying to figure out more generally how to do this, and I’m still planning on using I7 primarily, but using I6 for what is impossible in I7.
So far I have:
Include (-
[createPerson;
person.create();
];
-)
The person object translates into I6 as "person".
The testroom is a room.
The player is in the testroom.
Creating a person is an action applying to nothing.
Understand "Create" as creating a person.
Carry out creating a person:
create-person;
To create-person:
(- createPerson(); -);
But this reports the error that K8_person is not a constant. I had no idea the person kind was a “K8_person”, until this compilation error told me so, so it seems like something is hooked up partly right. Anyway, any help would be appreciated, as more than accomplishing this specific goal, this might help me understand how classes and kinds relate and how classes and constants relate. Clearly I don’t understand it yet.
I’m also aware that if the code above did work in some sense, it would be bad anyway, as it would just create a random person in nowhere (in other words, I’m aware it is incomplete, not just wrong). However, I’m just worried about one step at a time here, just trying to get past this latest reported error.