Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Turtle on October 05, 2013, 07:51:02 pm
-
Does anybody know how to alphabetize the vat for a shell I'm making? It has to be in axe, because IDK any asm. My routine always freezes :banghead: but basically I want it to sort all the stuff in the VAT (like axe parser does when it is run) so that when the main part of the shell displays the list of programs, they'll all be in alphabetical order.
-
Doing an actual sort on VAT entries is super hard, because they don't have a fixed size. For Axe, I'd recommend displaying them in alphabetical order, rather than sorting them.
-
Just use that modified version of MemKit (http://ourl.ca/18464/340684) (and don't mind the "WARNING UNTESTED", I tested it and it works). And don't forget to give Jacobly a +1.
edit just noticed you already found that topic and asked a question in it.
edit2 I answered you there.
-
I made a program called SRCSORT that easily sorts all programs by alphabetical order, hidden or not.
-
I last night made some code that just simply went through each program in alphabetical order and displayed the name when you hit down
(I know It's a bit late but for those watching now)
.SORT
"prgm"->Str1
{e9830}r->E
ClrHome
While E>{e982E}r
ReturnIf getKey(15)
For(F,0,14
{E-F}->{F+L1}
End
If getKey(1)
Pause 500
ClrHome
!If {L1}-5/2
For(A,1,{L1+6}
{L6+6+A}->{Str1+A}
End
0->{Str1+{L1+6}+1}
Text(0,0,Str1+1
End
E-{L1+6}-7}->E
End
End
It's not the best but it was the first time I had tried sorting VAT ever :thumbsup:
-
Necroposting is generally frowned upon (the last post was over 5 years ago); ideally you should create a new topic. That said, cool!
I don't see how it sorts or anything :| To me it looks like it just filters out programs :P
-
Oh right. Don't really know any of the rules yet ???
Also (sorry for dragging it on) i can't find out how to make a new topic? I would have if I knew how
-
(https://i.postimg.cc/pT5RFS4v/screenshot-550.png)
-
hOhHoH I is excited now :w00t:
Diolch (<-use google translate)