Calculator Community > Axe
Alphabetize the VAT
Turtle:
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.
Matrefeytontias:
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.
Hayleia:
Just use that modified version of MemKit (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.
ClrDraw:
I made a program called SRCSORT that easily sorts all programs by alphabetical order, hidden or not.
ClainBill:
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)
--- Code: ---.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
--- End code ---
It's not the best but it was the first time I had tried sorting VAT ever :thumbsup:
Navigation
[0] Message Index
[#] Next page
Go to full version