首页 > lang > isdir 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
IsDir
Result = IsDir ( Path AS String ) AS Boolean

Returns TRUE if the String argument Path points to a directory.

If the file with the name Path does not exist, or if it is not a directory, then this function returns FALSE.

Example

PRINT IsDir("/etc/password"),  IsDir("."),  IsDir(".."),  IsDir("../.."), IsDir("/dev/hda")

False   False   False   False   False

PRINT IsDir(User.Home &/ ".kde"), IsDir("/etc/X11"), IsDir("/etc"), IsDir("/"), IsDir("/dev")

True    True    True    True    True

参见

File & Directory Functions