Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: josephmarin on July 12, 2007, 08:34:00 pm
-
I'll be needing some compression for FFROS, as you know dialog is a large chunk of bytes. So string compression would be usefu, and im worthless with compression. Could someone show me how it would be done? code would be appreciated. Thanks!
-
Here is how you do string - list:
seq(Instring("ABCD...",sub(str1,A,1)),A,1,length(str1)-> L1
EDIT:
Here is a way to convert the list to string:
ClrHome
" /->/ Str2
"ABCDEFGHIJKLMNOPQRSTUVWXYZ? ./->/Str1
For(A,1,dim(L1
Str2 + sub(Str1,L1(A),1 /->/Str2
End
-
http://www.ticalc.org/archives/files/fileinfo/394/39476.html