MathGroup Archive 1999

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

Search the Archive

MathLink & strings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21081] MathLink & strings
  • From: Roger Mason <rmason at sparky2.esd.mun.ca>
  • Date: Sun, 12 Dec 1999 23:51:49 -0500 (EST)
  • Organization: Memorial University of Newfoundland
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am trying to send strings from Mathematica to C via MathLink. I have
been trying now for two days to accomplish this seemingly simple task.
Much of the problem stems from the absolutely hopeless documentation for
MathLink functions. If Mathematica were free, one might sigh and accept
the kindness of others in making code available. However, Mathematica is
(very decidedly) not free. Is WRI going to turn into another monster
like Micro$oft?

So much for venting spleen.

Does anyone have any examples of C code that implements string transfer
between Mathematica and C, in both directions? If you do, please make
clear what the types of the variables must be (this is an area where I
came to grief by assuming that the documentation is accurate!).

Many thanks in advance.

Roger Mason



  • Prev by Date: Re: Help! How to execute line integral, surface integral or integration around contour.
  • Next by Date: Re: Exact value of Cos[Pi/17]
  • Previous by thread: Re: Help! How to execute line integral, surface integral or integration around contour.
  • Next by thread: Re: MathLink & strings