0 Members and 2 Guests are viewing this topic.
1→DFor(A,Y,Y+H-1For(B,X,X+W-1If pxl-Test(A,BThenBE6+AE4→KRepeat not(pxl-Test(A,BB+1→BEndAnsE2-E2+AIf K=AnsE4ThenAns+.1→LP(DElseK+Ans→LP(DEndD+1→DEndEndEnd
For(A,1,dim(LPLP(AIf fPart(AnsThen.01iPart(AnsPxl-On(E2fPart(Ans),iPart(AnsElseLine(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2EndEnd
1→DFor(A,Y,Y+H-1For(B,X,X+W-1If pxl-Test(A,BThenBE6+AE4→KRepeat not(pxl-Test(A,BB+1→BEndK+BE2-E2+A→LQ(DD+1→DEndEndEnd
For(A,1,dim(LQLQ(ALine(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2End
"_Str3{0,1→L1For(A,Y,Y+H-1For(B,X,X+W-1If pxl-Test(A,BThenBE6+AE4→KRepeat not(pxl-Test(A,BB+1→BEnd{0,K+BE2-E2+A→LLineReg(ax+b) Y1Equ►String(Y1,Str4sub(Str4,1,length(Str4)-3→Str4If 7=length(Str4Str3+"0→Str3If 6=length(Str4Str3+"00→Str3Str3+Str4→Str3EndEndEndsub(Ans,2,length(Ans)-1→Str3
For(A,1,length(Str3expr(sub(Str3,A,8Line(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2A+7→AEnd
{0,1→L1"_→Str1For(A,Y,Y+H-1For(B,X,X+W-1If pxl-Test(A,bThenBE6+AE4→KRepeat not(pxl-Test(A,BB+1→BEndBE2-E2+A→LIf K=AnsE4ThenStr1+"+→Str1ElseStr1+"-→Str1End{0,K(K≠LE4)+L→L2LinReg(ax+b) Y1Equ►String(Y1,Str2sub(Str2,1,length(Str2)-3→Str2If 2=length(AnsStr1+"00→Str1If max(length(Str2)={3,7Str1+"0→Str1Str1+Str2→Str1EndEndEndsub(Ans,2,length(Ans)-1→Str1
"expr(sub(Str1,A+1,Ans→uFor(A,1,length(Str1If sub(Str1,A,1)="+Then4.01uPxl-On(E2fPart(Ans),iPart(AnsA+4→AElse8uLine(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2A+8→AEndEnd
AnsE2-E2+Acan't that just be Ans+A? right... oops. for a second i thought that Ans would be less than 10.. don't know why. but hey. i'll find something else.. just give me a second.i had to break away from my schoolwork *just* so i could find something to optimize oh, and your last String decompression code block is nested within the compression code block. these look neat, i'll check them out more thoroughly later
Line(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2
seq(iPart(E2fPart(Ans/10^(X))),X,2,8,2 //the token 10^( Line(Ans(4),-Ans(3),Ans(2),-Ans(1