move_object

./efun/move_object · 633 B

From the archive driver-docs-3.2@238-07-dec-93.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
	void move_object(mixed item, mixed dest)

	item->move(object dest, string methods)

DESCRIPTION
	The item, which can be a file_name or an object, is moved into
	it's new environment dest, which can also be file_name or an
	object.	 In native mode, the only object that can be moved
	with move_object() is the calling object itself. This function
	is only used to implement the lfun move().
	
	Use the lfun ob->move() instead, by inheriting standard
	objects. move() must be called in the object to be moved. This
	gives the moved object full control over its movement.

SEE ALSO
	remove(A), init(A), transfer(E), native(C)

Site Stats

Snippets: 1791
Codebases: 571