Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink and Pascal ?

  • To: mathgroup at
  • Subject: [mg3914] Re: MathLink and Pascal ?
  • From: ianc (Ian Collier)
  • Date: Sun, 5 May 1996 23:13:36 -0400
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at

In article <4luuij$3u8 at>, "Kursteilnehmer(in)"
<kursu5 at> wrote:

> Hallo,
> Is it possible to use MathLink in connection with pascal programs?
> Could you give me a reference with a simple example?
> (Unix or Mac)
> Thanks,
> Douglas           dougbrkm at

On the Macintosh, all Pascal development environments allow you to call
functions in C libraries. You should consult your compiler's documentation
for information on how to do this. If you are writing an installable
MathLink program (to plug an external function into Mathematica), you can
use MathLink's mprep tool to create a C program skeleton, but still write
the computational function in Pascal, and call it from the C code. In this
case, you need both C and Pascal compilers (but you don't need to write any
C yourself), and the issue becomes how to call an external Pascal function
from C (also something that all Macintosh C development environments can

I hope this helps.


Ian Collier
Wolfram Research, Inc.
tel:(217) 398-0700   fax:(217) 398-0747    ianc at
Wolfram Research Home Page:


  • Prev by Date: how to draw the contour lines on a surface
  • Next by Date: Re: Aligning Graphs in GraphicsArray
  • Previous by thread: MathLink and Pascal ?
  • Next by thread: Re: MathLink and Pascal ?