Conference Room SAD
[thread display] [new arrival display] [word search] [past log] [管理用]

Subject SAD Update. V1.0.10.2.3b1. Bug in init.n.
Date: 2008/02/19(Tue) 17:24:17
ContributorK. Oide

Dear Users,

1. A bug was found in init.n to make $Line function out of order. Its definition used to be

($Line=x_Real)^:=Module[{`n=Max[0,x]},
Unprotect[$Line,Out];
Do[Out[`i]=.;MessageList[i]=.,{i,n+1,$Line}];
$Line:=Evaluate[`n];
Protect[$Line,Out];
x];
Protect[$Line,Out];

which was OK when System`i is not defined before this, but some newly inserted lines actually use that, so $Line became broken. Then it is rewritten in the new version as

($Line=x_Real)^:=Module[{`n=Max[0,x]},
Unprotect[$Line,Out];
Do[Out[`i]=.;MessageList[`i]=.,{`i,n+1,$Line}];
$Line:=Evaluate[`n];
Protect[$Line,Out];
x];
Protect[$Line,Out];


- 関連一覧ツリー (Click ▼ to display all articles in a thread.)