Subject | ABS, External function |
---|---|
Author | Michael Vilhelmsen <Michael.Vilhelmsen@M |
Post date | 2002-12-12T10:50:41Z |
Hi
I found out that I could declare an external function ABS.
I do it like this:
DECLARE EXTERNAL FUNCTION abs
DOUBLE PRECISION
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';
If I declare it mnaually in either IB Expert or IBConsole its
available.
But if I use a TIBScript to do it on runtime, I can't create the
function.
I completes with no problem, but my function is not there.
Am I doing anything wrong ?
Michael
I found out that I could declare an external function ABS.
I do it like this:
DECLARE EXTERNAL FUNCTION abs
DOUBLE PRECISION
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';
If I declare it mnaually in either IB Expert or IBConsole its
available.
But if I use a TIBScript to do it on runtime, I can't create the
function.
I completes with no problem, but my function is not there.
Am I doing anything wrong ?
Michael