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

MathGroup Archive 2010

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

Search the Archive

Re: Message composition was changed in v8?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114672] Re: Message composition was changed in v8?
  • From: István Zachar <zac at freemail.hu>
  • Date: Sun, 12 Dec 2010 05:46:07 -0500 (EST)
  • References: <idqcsk$ivj$1@smc.vnet.net>

Can someone from WRI please confirm this and explain the details?
Thanks in advance.
Istvan


On Dec 9, 12:00 pm, Istv=E1n Zachar <z... at freemail.hu> wrote:
> Dear Group,
>
> I have been using an auto-ToString version of StringJoin for some time
> now without any problem: yes, System'StringJoin is overwritten with
> the following function:
>
> toString[expr_String] := expr;
> toString[expr_] := ToString@expr;
> Unprotect[System`StringJoin];
> Attributes[System`StringJoin] = {};
> System`StringJoin[expr___] := StringJoin@{expr};
> System`StringJoin[expr_List] := Fold[StringInsert[#1, toString@#2, -1]
> &, "", expr];
> Protect[System`StringJoin];
>
> Now compare the result of a faulty function call in v7 and v8:
> in Mathematica 7:
>
> In[8]:= Append[dummy, 2]
>
> During evaluation of In[8]:= Append::normal: Nonatomic expression
> expected at position 1 in Append[dummy,2]. >>
>
> Out[8]= Append[dummy, 2]
>
> and in Mathematica 8:
>
> In[9]:= Append[dummy, 2]
>
> During evaluation of In[9]:= Append::normal: Nonatomic expression
> expected at position {1} in {Append[dummy,2]}. >>
>
> Out[9]= Append[dummy, 2]
>
> Note the List brackets around the Message argument. What has been
> changed in Message composition in v8? Nothing is said about any
> modifications to Message, StringForm, or any related function that I
> know of, in the Documentation Center.
>
> Any idea?
>
> Istvan



  • Prev by Date: Re: Replacement Rule with Sqrt in denominator
  • Next by Date: Re: non working CUDA x86_64 with Home Edition x86
  • Previous by thread: Message composition was changed in v8?
  • Next by thread: On the foundation of Mathematica, was Re: Foo /: Plus[b_Foo] := b