1
Axe / Odd Text Issues
« on: May 11, 2012, 09:58:52 pm »
So I've been puzzling over a strange issues with strings and text lately, where all my efforts to print information to the home and graph screens resulted in a bunch of gobbledy-gook (long amounts of +'s, n's, and 0's). After thinking I was coding something wrong I eventually tried doing the same thing before all of the other code, resulting in perfect text. Just wondering if anyone could shed some light on this? (I'm using TokenIDE so DeltaList = Data)
Code: [Select]
.MATRIX
Fix 5
//Initial try, works fine
Text(10,10,"FFFFF")
Repeat getKey(15)
DispGraph
End
DeltaList(0->GDB1
For(Y,0,7)
For(X,0,7)
1->{Y*8+X+GDB1}
End
End
"!"->Str1
For(P,0,15)
({4*P+GDB1}*8)+({4*P+1+GDB1}*4)+({4*P+2+GDB1}*2)+{4*P+3+GDB1}->N
"F"->{Str1+P}
End
//Second try, plus trying to figure out if I used the string right
Text(10,10,"FFFFF")
Text(10,20,Str1)
Repeat getKey(15)
DispGraph
End
Fix 4