MathGroup Archive 2008

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

Search the Archive

Re: How to always output result in InputForm from the

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91837] Re: [mg91798] How to always output result in InputForm from the
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 9 Sep 2008 06:59:39 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

$Post = InputForm


Bob Hanlon

---- Peng Yu <PengYu.UT at gmail.com> wrote: 

=============
Hi,

By default the command line program show results not in InputForm. I
want all the output be in InputForm. Instead of appending each line
with "//InputForm", is there any better solution?

Thanks,
Peng

$ math < test.m
Mathematica 6.0 for Linux x86 (64-bit)
Copyright 1988-2007 Wolfram Research, Inc.

In[1]:=
          a
Out[1]= -----
        x + y

In[2]:=
$ cat test.m
a/(x+y)


--

Bob Hanlon



  • Prev by Date: Re: I installed mathematica 6 in gentoo. I can not open gui of
  • Next by Date: How I can fit data with a parametric equation?
  • Previous by thread: Re: how to convert output file to compatible format
  • Next by thread: How I can fit data with a parametric equation?