Mathlink question
- To: mathgroup at smc.vnet.net
- Subject: [mg33550] Mathlink question
- From: "Theodore Chronis" <tchronis_1998 at yahoo.com>
- Date: Fri, 29 Mar 2002 06:14:07 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I would like my .c program to get the value of a variable defined inside Mathematica. For example : in[1]:=var1=1; /* Part of C PseydoCode */ int n; n=Get_Mathematica_Variable(stdlink,var1); /* or something like that... */ You could propose me to take the value of the variable through opening a file but i want to be able to change the value of var1 from inside mathematica's kernel not using any prefix $post etc... I hope the answer to this question will be usefull to others as well. Thank you in advance Theodore Chronis. http://pythagoras.math.uoa.gr/~tchronis/