Simple Variable Array - Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Simple Variable Array - Solved
I need to create 2 simple Variable arrays like:
"Names" and "Gender"
I am accustomed to using a variable array such as
Name (x)
Gender (x)
PLEASE Help!
Thanks,
"Names" and "Gender"
I am accustomed to using a variable array such as
Name (x)
Gender (x)
PLEASE Help!
Thanks,
Last edited by DR White on Thu Sep 19, 2013 3:01 am, edited 1 time in total.
Re: Simple Variable Array
Hi DR White,
1. welcome to the forum!
2. not sure what you mean?
Maybe this one:
...
put "Klaus" into Name[1]
put "male (mostly)" into Gender[1]
...
Now you have the name in the FIRST key of the array Name and my gender in the first key of the array Gender.
Is that what you mean?
Best
Klaus
P.S.
Will move this posting, since this is not a FEATURE REQUEST!
1. welcome to the forum!

2. not sure what you mean?
Maybe this one:
...
put "Klaus" into Name[1]
put "male (mostly)" into Gender[1]
...
Now you have the name in the FIRST key of the array Name and my gender in the first key of the array Gender.
Is that what you mean?
Best
Klaus
P.S.
Will move this posting, since this is not a FEATURE REQUEST!

Re: Simple Variable Array
Hi.
Hmmm.
Or maybe you mean this:
put "Klaus" into expert[firstName]
put "wavering" into expert{joking]
put "silly" into expert[dunbarPost]
So now you have a single array named "expert", with three keys "firstName", "joking" and "dunbarPost", and with the data associated with those keys.
A little practice and you should be fine.
Craig Newman
Hmmm.
Or maybe you mean this:
put "Klaus" into expert[firstName]
put "wavering" into expert{joking]
put "silly" into expert[dunbarPost]
So now you have a single array named "expert", with three keys "firstName", "joking" and "dunbarPost", and with the data associated with those keys.
A little practice and you should be fine.
Craig Newman
Re: Simple Variable Array
Or better:
...
put "Klaus" into expert["firstName"]
put "wavering" into expert{"joking"]
put "silly" into expert["dunbarPost"]
...

...
put "Klaus" into expert["firstName"]
put "wavering" into expert{"joking"]
put "silly" into expert["dunbarPost"]
...

Re: Simple Variable Array
Hi DR White,
1. welcome to the forum!
2. not sure what you mean?
Maybe this one:
...
put "Klaus" into Name[1]
put "male (mostly)" into Gender[1]
...
Now you have the name in the FIRST key of the array Name and my gender in the first key of the array Gender.
Is that what you mean?
Best
Klaus
P.S.
Will move this posting, since this is not a FEATURE REQUEST!
[/quote]
That worked Perfectly
1. welcome to the forum!

2. not sure what you mean?
Maybe this one:
...
put "Klaus" into Name[1]
put "male (mostly)" into Gender[1]
...
Now you have the name in the FIRST key of the array Name and my gender in the first key of the array Gender.
Is that what you mean?
Best
Klaus
P.S.
Will move this posting, since this is not a FEATURE REQUEST!



Re: Simple Variable Array
dunbarx wrote:Hi.
Hmmm.
Or maybe you mean this:
put "Klaus" into expert[firstName]
put "wavering" into expert{joking]
put "silly" into expert[dunbarPost]
So now you have a single array named "expert", with three keys "firstName", "joking" and "dunbarPost", and with the data associated with those keys.
A little practice and you should be fine.
Craig Newman
