<HEAD> <TITLE> inherits - determine if an object inherits a given file </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> inherits - determine if an object inherits a given file </H1> </center> <p> <b> int inherits( string file, object obj ); </b> <p> inherits() returns 0 if obj does not inherit file, 1 if it inherits the most recent copy of file, and 2 if it inherits an old copy of file. <p> See also: <A HREF=deep_inherit_list.html> deep_inherit_list </A>, <A HREF=inherit_list.html> inherit_list </A> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS> <p>