TSLibraryOK()
Syntax
TSLibraryOK()
Description
This command is used to check whether the ThreadSync library was initialised correctly. It is probably best that you check this near the start of your program and only use the commands from this library if the library was initialised OK. The debugger will catch the cases where you try to use commands with an uninitialised library, if it is enabled. Without the debugger enabled, an uninitialised library will make the functions do nothing.
Paramaters:
There are no parameters for this command.
Return value:
The value returned by this function shows if the internals of the library were initialised successfully. The values it returns are true (any non-zero value) if the library initialisation is OK and false (zero) if it failed.
Example:If TSLibraryOK() ; Safe to use commands from the ThreadSync library EndIf End
Supported OS
Windows