Subject | Re: [firebird-support] Need help writing a UDF... |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2005-05-23T12:09:26Z |
On 23 May 2005 at 11:57, Hugo Hiasl wrote:
value, not by reference.
--
SY, Dimitry Sibiryakov.
>function Distance(var lon1, lon2, lat1, lat2: real): real; cdecl;Kill 'var'. You've declared the UDF as receiving arguments by
value, not by reference.
>function Distance(var lon1, lon2, lat1, lat2: real): real;'Real' is version-specific type. You'd better use Double...
--
SY, Dimitry Sibiryakov.