Subject external function lpad
Author Alin
Hi,

i'm using Firebird 2.1.0.17798.

I declared in a database the following function:

DECLARE EXTERNAL FUNCTION RTRIM
CSTRING (255)
RETURNS CSTRING (255) FREE_IT
ENTRY_POINT 'IB_UDF_rtrim' MODULE_NAME 'ib_udf';

and it worked!

I can't understand why the next one doesn't work!

DECLARE EXTERNAL FUNCTION lpad
CSTRING(255) NULL, INTEGER, CSTRING(1) NULL
RETURNS CSTRING(255) FREE_IT
ENTRY_POINT 'IB_UDF_lpad' MODULE_NAME 'ib_udf';

Can somebody help me to declare this function?
Thank you, Alin

--
I am using the free version of SPAMfighter for private users.
It has removed 259 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len