Nathalie Jarosz wrote:
You can call C version just fine (take look on GPM library and gmp.pas to see how pascal wrappers for C library can be written).
Where can I find gpm library?
A GPM unit is part of the GPC distribution. On my system if I type
gpc -v
I get the information:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/specs gpc version 20000619, based on 2.95.1 19990816 (release)
From this I read that can find the units in
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/units/
The file `gpm.pas' in that directory is a Pascal interface to the GPM library. If you have another C library that exports the beta distribution function you can use it the same way by writing a unit.
Hope this helps,
Peter