I was wondering if it was possible to store lists inside of lists.
Here goes:
Say I have four lists. FF7, FF8, FF9 and FF10.
Then I wanted to store them into a new list, called FF.
So, when it comes to a client using his/her verb, they get to choose one of the four options (FF7, FF8, FF9 and FF10) in the list, FF.
Simple reason I want to know this is because I feel as though it would be easier to get around things this way.
So, if more information is needed or if it is possible, would you kindly take the time to assist me?
--Lee
ID:176446
Jan 13 2003, 1:41 am
|
|
In response to Dragon Guardian
|
|
Got it cracked, although you know it wasn't that way once I showed you exactly what I mean't :P
They finishing output comes as follows; var/list/FF7 = list("Aeris' Theme.mid","Barrets Theme.mid","Cait Siths Theme.mid","Cids Theme.mid","Costa del Sol.mid","RedXIII' Theme.mid","Tifas Theme.mid","Weapon Raid.mid","World Map Theme.mid") Thanks for the help anyway, Lance :) --Lee [Edit] One problem though, it compiles great. Though when choosing the song you wish to hear... You find nothing outputted. All help is needed here and all help will be gracefully accepted :) |
In response to Mellifluous
|
|
The switch seems to set up a bunch of redundant code that could just as easily be handled with an associative list.
var/list/FF=list("FF7"=list( ... ),\ Lummox JR |
In response to Lummox JR
|
|
Lummox JR wrote:
The switch seems to set up a bunch of redundant code that could just as easily be handled with an associative list. var/list/FF=list("FF7"=list( ... ),\ Lummox JR Thanks Lummox, I will get on this now, although, I am not very good with lists so I tend to get them wrong often. As you may or may not already know, lists are one of the many weaknesses I have with DM. --Lee |
In response to Mellifluous
|
|
Lists really are my weakness, never even attempted one...
|
Something like this
But it would have to be tested.
To access them I am guessing you would do something like this.
/*Something like this, I really have no clue what you are trying to achieve aside from this but if you could, would you test this for me and give me some feedback?*/
I am very sorry to leave you with this, I will provide more detail later but I must run, I have school but you know how to further contact me.
Lance
...Guardian of Dragons...