As “b1” and “b2” return the same value “{{1},{2},{3}}”, “GridBox[b1]” and “GridBox[b2]” return the same “GridBox[{{1},{2},{3}}]” .
But “GridBox[b1]//DisplayForm” and “GridBox[b2]//DisplayForm” return different forms respectively as below:
GridBox[b1]//DisplayForm
If “b2” is changed to “ToExpression[b2]”, then “GridBox[b2]//DisplayForm” returns
1
2
3
I don’t understand why the “ToExpression” is to be applyed to “b2” when “b1” is same to “b2”. A same parameter would not be necessary to be applied by “ToExpression”,I think.
The version of Mathematica is 4.1. The below is the notebook atached but becomes a little different from original. But functions and their responses are correct.
Thanks.
Your result is very strange and I cannot reproduce it. I get the same outputs for b1 and b2. I see that you are using a very old version of Mathematica FrontEndVersion->"4.1 for Microsoft Windows", which may be involved with the probem.
Why are you not using TableForm[b1] or Grid[b1], which do not need DisplayForm?
I beg your pardon for my mistake.
Thank you for your pointing out.
Mr.Gianluca Gorni
I can not have got hints for “Grid” from the helpDocs. Now, I have found that “Grid” can be used in my old Mathematica. For a long time,when I used boxes, I almost have used them with DisplayForm to show forms.
Troubles in such low level commands of old version that bother me may unavoidable as you say.