Subject | UDF argument mechanisms |
---|---|
Author | Martijn Tonies |
Post date | 2003-09-23T10:42:20Z |
Hi all,
I must say I've failed to follow the existing UDF argument mechanisms...
From what I understood, Firebird 1 supports the "By Descriptor" output
argument mechanism. But does it also support this:
DECLARE EXTERNAL FUNCTION DPOWER
DOUBLE PRECISION BY DESCRIPTOR,
DOUBLE PRECISION BY DESCRIPTOR,
DOUBLE PRECISION BY DESCRIPTOR
RETURNS PARAMETER 3
ENTRY_POINT 'power' MODULE_NAME 'fbudf';
Or is this Fb 1.5?
If input parameters support BY DESCRIPTOR, what other
mechanisms do they support? By Value/Ref, Free It? Etc?
I can't see the forest from the trees here... Can someone help
me with this by spelling it out for me? (and no, I can't find
it in the release notes that I have :-/ ... )
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com
I must say I've failed to follow the existing UDF argument mechanisms...
From what I understood, Firebird 1 supports the "By Descriptor" output
argument mechanism. But does it also support this:
DECLARE EXTERNAL FUNCTION DPOWER
DOUBLE PRECISION BY DESCRIPTOR,
DOUBLE PRECISION BY DESCRIPTOR,
DOUBLE PRECISION BY DESCRIPTOR
RETURNS PARAMETER 3
ENTRY_POINT 'power' MODULE_NAME 'fbudf';
Or is this Fb 1.5?
If input parameters support BY DESCRIPTOR, what other
mechanisms do they support? By Value/Ref, Free It? Etc?
I can't see the forest from the trees here... Can someone help
me with this by spelling it out for me? (and no, I can't find
it in the release notes that I have :-/ ... )
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com