Re: MathLink and Pascal ?
- To: mathgroup at smc.vnet.net
- 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 wolfram.com
In article <4luuij$3u8 at dragonfly.wolfram.com>, "Kursteilnehmer(in)" <kursu5 at abzux.zedat.fu-berlin.de> 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 zedat.fu-berlin.de 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 do). I hope this helps. --Ian ----------------------------------------------------------- Ian Collier Wolfram Research, Inc. ----------------------------------------------------------- tel:(217) 398-0700 fax:(217) 398-0747 ianc at wolfram.com Wolfram Research Home Page: http://www.wolfram.com/ ----------------------------------------------------------- ==== [MESSAGE SEPARATOR] ====