Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Turtle on October 05, 2013, 07:51:02 pm

Title: Alphabetize the VAT
Post 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.
Title: Re: Alphabetize the VAT
Post by: Matrefeytontias on October 06, 2013, 02:29:25 am
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.
Title: Re: Alphabetize the VAT
Post by: Hayleia on October 06, 2013, 03:05:24 am
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.
Title: Re: Alphabetize the VAT
Post by: ClrDraw on October 19, 2013, 12:56:04 pm
I made a program called SRCSORT that easily sorts all programs by alphabetical order, hidden or not.
Title: Re: Alphabetize the VAT
Post by: ClainBill on January 29, 2019, 03:26:43 am
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: [Select]
.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:
Title: Re: Alphabetize the VAT
Post by: Xeda112358 on January 29, 2019, 09:47:32 am
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
Title: Re: Alphabetize the VAT
Post by: ClainBill on January 29, 2019, 04:02:02 pm
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
Title: Re: Alphabetize the VAT
Post by: Yeong on January 29, 2019, 04:04:43 pm
(https://i.postimg.cc/pT5RFS4v/screenshot-550.png)
Title: Re: Alphabetize the VAT
Post by: ClainBill on January 29, 2019, 04:17:48 pm
hOhHoH I is excited now :w00t:
Diolch (<-use google translate)