load_object - find or load an object by file name

object load_object( string str );

Find the object with the file name 'str'. If the file exists and the object hasn't been loaded yet, it is loaded. Otherwise zero is returned. An error is thrown only if the object has compile errors.

See also: file_name , find_object


Tim Hollebeek

Beek @ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere