Call a function in a shared library: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: aligned a couple of comments.)
m (→‎{{header|REXX}}: added a comment about where the file REFUTIL.DLL should be.)
Line 1,627: Line 1,627:
The dropping of functions isn't really necessary for most REXX programs.
The dropping of functions isn't really necessary for most REXX programs.
<lang rexx>/*REXX program calls a function (sysTextScreenSize) in a shared library (regUtil). */
<lang rexx>/*REXX program calls a function (sysTextScreenSize) in a shared library (regUtil). */

/*Note: the REGUTIL.DLL (REGina UTILity Dynamic Link Library */
/* should be in the PATH or the current directory. */


rca= rxFuncAdd('sysLoadFuncs', "regUtil", 'sysLoadFuncs') /*add a function library. */
rca= rxFuncAdd('sysLoadFuncs', "regUtil", 'sysLoadFuncs') /*add a function library. */