Re: Inform: objectloop
21 Nov 1995 06:28:32 GMT
te_s343@kingston.ac.uk (Adrian Preston) wrote:
>Why doesn't this work?
>
>
> objectloop ( i in player ) move i to room_name;
>
This is similar to cutting down the tree you are sitting in.
Objectloop should only be used for browsing objects. You need
a loop:
while (child(player) ~= 0)
move child(player) to room_name;
Bjorn Gustavsson