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=


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=