base_name
MudOSa4DGD/doc/efun/base_name · 473 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME base_name - return name of base file of a file or object SYNOPSIS varargs string base_name(mixed file) DESCRIPTION Return the base file of a file or object. The first argument defaults to this_object(), and may be a string or an object. NOTE This function will not remove ".c" extentions and "#number" endings of clones if the first argument is a string, thus needs the source filename. SEE ALSO efun/file_name, efun/source_file_name, efun/directory_name