IsDatabase()

语法

Result = IsDatabase(#Database)
概要
This function evaluates if the given #Database number is a valid and correctly-initialized database.

参数

#Database The database to use.

返回值

Returns nonzero if #Database is a valid database connection and zero otherwise.

Remarks

This function is bulletproof and can be used with any value. If Result is not zero then the object is valid and initialized, otherwise it returns zero. This is a good way to check that a database is ready to use.

参阅

OpenDatabase(), OpenDatabaseRequester()

已支持操作系统

所有

<- GetDatabaseString() - Database Index - NextDatabaseDriver() ->