Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125950] Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=
  • From: Narasimham <mathma18 at hotmail.com>
  • Date: Mon, 9 Apr 2012 05:33:16 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jlrhfc$en3$1@smc.vnet.net>

On Apr 8, 1:15 pm, Daniel <daniel.bent... at gmail.com> wrote:
> I don't yet understand the subtleties of evaluation order, but this seems unintuitive.
>
> I've managed to get the representation I want with Text[StringJoin["x= ", ToString[x]]],
> but would prefer both to understand what's happening and reduce verbosity.
>
> thanks.

Left to right, tail of first joined to head of second.

XX = Range[1, 9, 2]
YY = Range[5, 50, 10]
Join[ XX, YY]

Narasimham



  • Prev by Date: Plotting vectors on a linear function
  • Next by Date: Re: Varying a constant in an ODE to Manipulate solution set
  • Previous by thread: Text["x=" x] reverses order of terms producing the string: 1.2 x=
  • Next by thread: Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=