View Single Post
Retrieve data depending on user input
Junior Member
Status: Offline
Posts: 4
Join Date: Dec 2011
Default Retrieve data depending on user input - 12-28-2011, 01:22 PM

For a project, I need to retrieve a name from a numbered list that corresponds to the number input by the user.

How do I associate a numeric world variable ("Rank") with the name of the item in that spot on the list? Do I do this with a list or array? How do I connect a number to a pre-determined string?

Any help would be appreciated, I have been reading the books but not finding anything that seems to address this.
Reply With Quote