A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/get_dir


Name: get_dir - get the contents of a directory

Syntax:
	string *get_dir(string path)

Description:
	The get_dir takes a path as argument and returns the file names in
	that directory.

Return value:
	It returns an array of strings containing the file names.

Examples:
	get_dir("/w/") and
	get_dir("/w")		return ({ "w" })
	get_dir("/w/*") 	returns contents of directory "/w"
	get_dir("/") and
	get_dir("/*")		return contents of directory "/".
	get_dir("*")		returns contents of current working dir of
				this_player()

See also:


This page was generated in LPC

Imprint / Impressum