Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: phannDOTde on February 04, 2014, 01:27:39 PM
-
Hey there
I'm trying to make a simple Highscorelist and figure out how arraymaker works. I must say that I'm a little bit surprised that I can have only one Collum with several rows, I thougt an Array would be described as multi Collum field (like an Exel sheed)?
How ever - if I line um say ten Scores in an Array List I can perfectly sort them - but now I would love to add some Names acording to each Score like this
AAA 100.000
BBB 99.000
PPP 75.000
How can I connect the Names to the corresponding Scores while I sort the Array List? (Not a Code Guy so I got to figure this out with PM)
greets
Peter
-
Hi,
Simply use a Hashtable instead of an arrayList.
Hashtable will allow you to define a value based on a key ( string). so in your case, this is perfect.
bye,
Jean