Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

ObjectScopedBySomething (lines 949-961)

0949  [ ObjectScopedBySomething item i j k l m;
0950    i = item;
0951    while (parent(i) ~= 0) i=parent(i);
0952    objectloop (j .& add_to_scope)
0953    {   l = j.&add_to_scope;
0954        k = (j.#add_to_scope)/2;
0955        if (l-->0 ofclass Routine) continue;
0956        for (m=0:m<k:m++)
0957            if (l-->m == i)
0958                return j;
0959    }
0960    rfalse;
0961  ];


Last updated 27 February 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.