Author Topic: Could use some Arraymaker advice  (Read 920 times)


  • Full Member
  • ***
  • Posts: 238
    • View Profile
    • Peter Hann .de
Could use some Arraymaker advice
« on: February 04, 2014, 11:27:39 AM »
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)

« Last Edit: February 04, 2014, 11:48:54 AM by phannDOTde »


  • Administrator
  • Hero Member
  • *****
  • Posts: 15370
  • Official Playmaker Support
    • View Profile
Re: Could use some Arraymaker advice
« Reply #1 on: February 05, 2014, 02:14:08 AM »

 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.