Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: output forms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121525] Re: output forms
  • From: "Chris Degnen" <degnen at cwgsy.net>
  • Date: Sun, 18 Sep 2011 04:12:55 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <j51sp2$pf7$1@smc.vnet.net>

Does this suffice?

a = 1;
b = 2;
c = 3;
x = Style[
  "d\[MediumSpace]=\[MediumSpace]" <> ToString[a] <>
   "\[MediumSpace]+\[MediumSpace]" <> ToString[b] <>
   "\[MediumSpace]*\[MediumSpace]" <> ToString[c], "Input"]
ToExpression[First[x]];
d


klkj fukyfl <kitas11 at yahoo.com> wrote:
>
> Hello, I need Matheamtica to do the following:
>
> in:
>
> a=1;
> b=2;
> c=3;
> d=a+b*c
>
> out:
>
> d=1+2*3
> and so on...
>
> previously I was using another system, but I found that this kind of stuff 
> is impossible
>
> Can this be performed on Mathematica? 






  • Prev by Date: Re: output forms
  • Next by Date: (x - 1) or (-1 + x)
  • Previous by thread: Re: output forms
  • Next by thread: Re: output forms