Jump to content




How to index stuff in tables?


  • You cannot reply to this topic
2 replies to this topic

#1 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 24 August 2014 - 10:30 AM

Hi! I'm making an os, and I'm currently stuck on the programs screen thingy..
I want to be able to have the files of a folder be printed dynamically, for example, x is in the program folder, program screen prints x.
I also want to be able to index the filename, length of the filename and the y pos of it and then be able to look that up with a mouse_click pulled event and then run that file.
How would I easily do this? Thanks in advance - Mackan90096

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 24 August 2014 - 10:47 AM

That's not a very specific question, and difficult to address without knowing where you're up to.

This bit of code generates a menu from a table filled with most any amount of items. I guess take a read through it and ask questions if you have them.

#3 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 24 August 2014 - 11:10 AM

Yes, that is what I'm looking for. I'll modify it and use it, thanks :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users