IsLibrary()

Syntax

Result = IsLibrary(#Library)
Description
Tests if the given library number is valid and if the library has been correctly initialized.

Parameters

#Library The library value to test.

Return value

Returns nonzero if the input is a valid library and zero if not.

Remarks

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

See Also

OpenLibrary(), CloseLibrary()

Supported OS

All

<- GetFunctionEntry() - Library Index - LibraryFunctionAddress() ->