playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Could use some Arraymaker advice
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Could use some Arraymaker advice (Read 1345 times)
phannDOTde
Full Member
Posts: 237
Could use some Arraymaker advice
«
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
«
Last Edit: February 04, 2014, 01:48:54 PM by phannDOTde
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Could use some Arraymaker advice
«
Reply #1 on:
February 05, 2014, 04:14:08 AM »
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Could use some Arraymaker advice