0 Members and 1 Guest are viewing this topic.
Quote from: DJ Omnimaga on November 24, 2010, 11:27:03 pmNice, but is it normal that I got this when trying to recall a string? Dj, that is pretty odd. i have no idea what the problem is. if you recall the string in a program, it works perfectly, though. and there really isn't a reason to recall the string to the homescreen if you're using it for Axe anyway, so i don't think i'm going to investigate the problem.Ashbad, outputting a hex string as tokens or ASCII is the same because you're only using 0-9 and A-F, which have the same token/ASCII values. or in my case i'm also adding in a newline token for Downsider's ease of use.as for exporting the hex into a string, well, that's easy:Code: [Select]GetCalc("Str1",32)->P"0123456789ABCDEF"->Str1For(Y,0,7For(Z,0,10->C->DFor(X,0,3e^(3-X)*pxl-Test(Z*4+X,Y)+C->Ce^(3-X)*pxl-Test(Z*4+X,Y)r+D->DEnd{C+Str1}->{Y*2+Z+P}{D+Str1}->{Y*2+Z+P+16}EndEnd
Nice, but is it normal that I got this when trying to recall a string?
GetCalc("Str1",32)->P"0123456789ABCDEF"->Str1For(Y,0,7For(Z,0,10->C->DFor(X,0,3e^(3-X)*pxl-Test(Z*4+X,Y)+C->Ce^(3-X)*pxl-Test(Z*4+X,Y)r+D->DEnd{C+Str1}->{Y*2+Z+P}{D+Str1}->{Y*2+Z+P+16}EndEnd
oh, thanks man. I was doing some weird other thing, since I was making my own routine to read nibbles (I can't get axe 0.4.5 onto my calc) and my way involved changing my memory buffers from a 64 byte map into two 64 byte maps into two 8 byte hex sprites, into two strings, into one string O.o Though I guess pixel testing on the buffers for me would also work as well.Thanks again.
Quote from: ASHBAD_ALVIN on November 25, 2010, 01:10:07 pmoh, thanks man. I was doing some weird other thing, since I was making my own routine to read nibbles (I can't get axe 0.4.5 onto my calc) and my way involved changing my memory buffers from a 64 byte map into two 64 byte maps into two 8 byte hex sprites, into two strings, into one string O.o Though I guess pixel testing on the buffers for me would also work as well.Thanks again. You can't get Axe0.4.5, why?
Well, my calculator's been kind of screwed up lately...I'd have 10 apps on it, ~50000 archive free...I'd put another 1-page app on it and stuff screws up and it says zero archive left.On an 84...It's probably just my calc being odd again