0 Members and 1 Guest are viewing this topic.
lets say im using axe to move a string from Str1A to an appvar. How do i find out how many bytes the string is? This is a typical text string, not limited to hex or numbers, but can range from 0 to Z.
:"Hello"
:"Hello"→Str1A
And, any issues with separating things with commas in that string? If yes, how should I separate them?
And, has Quigbo resolved the interrupt issue yet? The one where the Lbl was inconsistent with Goto?
if you use asm to create a custom interrupt routine and keep that routine enabled when you exit to the TI-OS, should it continue to operate?
Keep in mind that lowercase letters are 2 byte tokens, though, and that each will take two spots in memory rather than one.
Quote from: DJ Omnimaga on September 02, 2010, 01:51:18 pmKeep in mind that lowercase letters are 2 byte tokens, though, and that each will take two spots in memory rather than one. But for strings, I think they're converted to their characters by Axe before they're added to the executable.
Am I correct in assuming that I could simply use Axe's length( command to get the size of the string?
Quote from: Deep Thought on September 02, 2010, 01:52:41 pmQuote from: DJ Omnimaga on September 02, 2010, 01:51:18 pmKeep in mind that lowercase letters are 2 byte tokens, though, and that each will take two spots in memory rather than one. But for strings, I think they're converted to their characters by Axe before they're added to the executable.I am confused what you mean, could you explain in more details
"appvBDefs"->Str2AGetCalc(Str2A)->D!If D"AHA,AAHAA,BEEF,BEAT,CRASH,FAIL,HAHA,OFFBY1,PRANK,VIRUS,WINXX,XXX"->Str9Zlength(Str9Z)->VGetCalc(Str2A,V)->Dconj(Str9Z,D,V)End
If Dlength(D)->V"0"->Str9Yconj(D,Str9Y,V)Disp Str9Y