id

./applied/id · 307 B

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

Download the archive   « Back to the archive contents

SYNOPSIS
	int id(string str)

DESCRIPTION
	Let the object identify itself. If str matches an id of the
	current object then return a none zero value.
	This lfun is applied for the efun present().

EXAMPLE
	int id(string str) {
	   return "sword" == str" || "sword of fire" == str;
	}
	
SEE ALSO
	present(E)

Site Stats

Snippets: 1791
Codebases: 571