LPC Library Functions: copy

NAME

copy() - return a copy of an array, mapping, or class

SYNOPSIS

mixed copy( mixed );

DESCRIPTION

Returns a copy of the specified variable. This function is handy for making a complete duplicate of an array, mapping, or class, and will descend into complex structures (such as an array of mappings) to copy the entire variable.

Note that this efun is only available if the driver flag PACKAGE_CONTRIB is defined.

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