Author Topic: Alphabetize the VAT  (Read 9223 times)

0 Members and 1 Guest are viewing this topic.

Offline Turtle

  • Not an admin
  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Alphabetize the VAT
« 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.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Alphabetize the VAT
« Reply #1 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.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Alphabetize the VAT
« Reply #2 on: October 06, 2013, 03:05:24 am »
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.
« Last Edit: October 06, 2013, 03:15:35 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Alphabetize the VAT
« Reply #3 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.
« Last Edit: November 27, 2013, 12:16:00 pm by ClrDraw »
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline ClainBill

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-0
  • Everybody's just a FREAK
    • View Profile
    • My still developing website
Re: Alphabetize the VAT
« Reply #4 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:
"I don't think I've ever looked in this drawer." (opens it) "Wow, a gun!"

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Alphabetize the VAT
« Reply #5 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

Offline ClainBill

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-0
  • Everybody's just a FREAK
    • View Profile
    • My still developing website
Re: Alphabetize the VAT
« Reply #6 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
"I don't think I've ever looked in this drawer." (opens it) "Wow, a gun!"

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Alphabetize the VAT
« Reply #7 on: January 29, 2019, 04:04:43 pm »
Sig wipe!

Offline ClainBill

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-0
  • Everybody's just a FREAK
    • View Profile
    • My still developing website
Re: Alphabetize the VAT
« Reply #8 on: January 29, 2019, 04:17:48 pm »
hOhHoH I is excited now :w00t:
Diolch (<-use google translate)
"I don't think I've ever looked in this drawer." (opens it) "Wow, a gun!"