GetFunction()

Syntax

Result.l = GetFunction(#Library, FunctionName$)
Description
Checks if the library, previously opened using the OpenLibrary() function, contains the given function. Note that the function name is always case sensitive.

Parameters

#Library - The number of the library which contains the functions to find. This number must be identical to that used previously with: OpenLibrary().

FunctionName$ - A string containing the name of the function to be found.

Return value

Result - The address in memory of the function from the library, which is useful with the CallFunctionFast() or CallCFunctionFast() functions. If the address is zero then the function can not be found and should not be called.

Supported OS

All

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