----- Forwarded message from "Alexei P. Baturin" bat@niipmm.tsu.ru -----
From: "Alexei P. Baturin" bat@niipmm.tsu.ru To: gpc-owner@gnu.de Subject: Questions about GNU Pascal Date: Thu, 15 Aug 2002 16:49:39 +0700
Good day, Would you like to answer two questions about GNU Pascal (MS DOS with DGJPP) for which I haven't found the answer in documentation? I work in MS-DOS under Windows 98 (processor Pentium II).
1. Is it possible to force the functions sin, cos, exp, ln, **, etc. to calculate a result of type LongReal (10 bytes) with a precision of 19 decimal digits (as in BP or Delphi)?
2. How to use DLL's in GP-programs? I tried to import a function from DLL by usual way (as in Delphi):
function esin(x:extended):extended; external 'extenlib.dll' index 1;
but the compiler didn't understand this. Can you help me to solve this problem?
Best regards, Alexei Baturin (Tomsk, Russia)
----- End forwarded message -----