IsFile()

语法

Result = IsFile(#File)
概要
Tests if the given file number is a valid and correctly initialized file.

参数

#File The file to use.

返回值

Returns nonzero if #File is a valid file and zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a file is ready to use.

参阅

CreateFile(), OpenFile(), ReadFile()

已支持操作系统

所有

<- FlushFileBuffers() - File Index - Loc() ->