Subject Re: Absolute value
Author Jeff Lynn
My apology! I thought the postings indicate a dll by the name of
"rfunc.dll". Then I was checking the udf directory, searched the
ib_udf.sql for abs and scout's honour, I did not find it this morning
but magically find it now. Must be before any my caffine fixation
kicked in.

Sorry about that.

Jeff
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@...> wrote:
>
> >Please be fair. Darin's was unable to get the dll via the link. I
>
> That DLL has nothing to do with my answer.
>
> >tried to search the Firebird distribution, both the server and
> >embedded downloads and not find any.
> >
> >The Interbase 6 Language reference manual did not have any reference
> >on the ABS() function.
>
> Sure it does.
>
> DECLARE EXTERNAL FUNCTION ABS
> DOUBLE PRECISION
> RETURNS DOUBLE PRECISION BY VALUE
> ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf';
>
>
> But IB_UDF, I believe, has been renamed to FB_UDF I believe.
>
> A .sql file that declares all standard functions for you, should be
included
> with the Firebird distribution.
>
> Martijn Tonies
> Database Workbench - development tool for Firebird and more!
> Upscene Productions
> http://www.upscene.com
> My thoughts:
> http://blog.upscene.com/martijn/
> Database development questions? Check the forum!
> http://www.databasedevelopmentforum.com
>