LPC Library Functions: environment

NAME

environment() - return the environment of an object

SYNOPSIS

object environment( object ob );

DESCRIPTION

Return the containing object (environment) of 'ob'. If no argument is given, 'ob' defaults to this_object(). If 'ob' has no environment, 0 will be returned.

Note that this efun is not available if the driver flag NO_ENVIRONMENT is defined.

SEE ALSO

this_object(), all_inventory(), deep_inventory()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS