Thursday, June 12, 2008
Tip of the Day #2: Managing DLCALL Functions
Section: DLCALL Functions
Supported Versions:
. R:BASE 7.6 for Windows (Build: 7.6.4.30611 or higher)
. R:BASE C/S:I 7.6 for Windows (Build: 7.6.4.30611 or higher)
. R:BASE Turbo V-8 for Windows (Build: 8.0.18.30611 or higher)
Did you know that you can:
01. Declare up to 200 functions using the DLCALL function
02. Use CHKFUNC function to check DLL function that exists or not
Example:
SET VAR v1 = (CHKFUNC('function_name'))
Returns 1 if function exists or 0 if not.
03. Use DELFUNC function to delete DLL function declaration
Example:
SET VAR v1 = (DELFUNC('function_name'))
Returns 1 if function was deleted or 0 if not.
04. Use new LIST FUNCTIONS command to list declared functions
LIST FUNCTIONS command will list all declared DLL functions
Have fun!
Razzak.