MathGroup Archive 2003

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

Search the Archive

Re: Mathlink problem with number format

  • To: mathgroup at
  • Subject: [mg39814] Re: Mathlink problem with number format
  • From: Jens-Peer Kuska <kuska at>
  • Date: Sat, 8 Mar 2003 02:46:11 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <b49mig$fbf$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


you get the OutputForm[] but your wish is the InputForm[]

In the OutputForm[] you have
2.93219 x 10

and that is in you string because \012 is an carrige return.

Just tell Mathematica that you need the InputForm[] of your


Rolf Alber wrote:
> Hello together !
> I hope someone can help me with the following problem:
> I am using Mathematica via a Mathlink Connection. As commands I am sending
> text-packets and I want to receive the calculated result also as
> Returntext-packet.
> This so far works well unless the calculated result is in an exponential
> format like p.ex.
> In this case I would  receive in the Returntext-packet something like this:
>           7\0122.93219 10    (with 10 leading blanks)
> which is very unsatisfying for me.
> Any help is highly appreciated.
> Greetings,
> Rolf

  • Prev by Date: Re: a question
  • Next by Date: AW: pattern matching with repeated named patterns
  • Previous by thread: Mathlink problem with number format
  • Next by thread: Re: Mathlink problem with number format