Concept Framework 2.0 documentation Contents | Index

standard.C.io.filetype

Name Version Deprecated
filetype version 1.0 no

Prototype:
number filetype(string path)

Parameters:
path      [in] A string containing the path of existing file.

Description:
Gets the type of a file. Is equivalent to the _stat function as this: _stat(path)["st_mode"] & S_IFMT.

Returns:
Returns the type of a file.

Documented by Simona Plesuvu, generation time: Fri Jan 21 18:06:20 2011 GMT(c)2011 RadGs Software