0 Members and 1 Guest are viewing this topic.
TEXTENCDDelVar L1ClrHomeInput "",Str1min(128,length(Str1->L1(123->dim(L1DelVar C1->BFor(A,1,L1(1))C+1-6(C=6->CIf C=1B+1->BL1(B)+10^(2C-2)inString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.!?:'",sub(Str1,A,1->L1(BEndB->dim(L1L1TEXTDECDClrHomeDelVar C1->BFor(A,1,L1(1C+1-6(C=6->CIf C=1ThenB+1->BL1(Ans->DEnd.01int(D->Dint((A-1)/16Output(1+Ans,A-16Ans,sub(" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.!?:'",1+100fPart(D),1End
I think it, sort of, compresses data by taking advantage of the amount of data a REAL variable can contain. (the significand is 6 bytes, I think, which would explain the 6 letters/element ratio)I'm sorry if this is completely wrong, but I didn't have the time to study your code.
Although i can't figure out why you are limiting the string length to 128 O.o