get Index from 2 arrays simultaneously?
-
@Lindon said in [get Index from 2 arrays simultaneously?]
What are you trying to do?
trying to pass another variable if both = to True
-
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
-
@Lindon said in get Index from 2 arrays simultaneously?:
WO VARIABLES!!!
So thats my question.
I need to have a True to both items.
var Maps. and the Viewport2 valueuhh this is heavy
-
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
Then to "Item1"?
This cant be impossible -
@ten7kur You have MAPS set up as David has explained:
[ [ "Item1A", "Item1B", "Item1C" ], [ "Item2A", "Item2B" ] ]
so there are two only slots in Maps
Maps[0] = ["Item1A", "Item1B","Item1C" ]
Maps[1] = ["Item2A","Item2B"]
So any number you put in Maps[xxxx] will NEVER = true
-
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
Then to "Item1"?
This cant be impossibleYou dont have anything called "Item1" -- anywhere...
you've got Maps[0][0] = "Item1A"
you've got Maps[1][0] = "Item2A"Can you just say in english what you are trying to do...e.g. "make sure Viewport1 and Viewport2 are the same"... or something else?
-
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
Then to "Item1"?
This cant be impossibleYou dont have anything called "Item1" -- anywhere...
you've got Maps[0][0] = "Item1A"
Can you just say in english what you are trying to do...e.g. "make sure Viewport1 and Viewport2 are the same"... or something else?
Im at complete confusion.
Im trying to:
Create a variable from Viewport2 selection. But do this i need the index of BOTH Viewport1 and Viewport2 to continue.
So say: Viewport1; Item 1 selected. And if Viewport2 Item1A selected i have Yes/True. Then i can/want to make another variable -
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
Then to "Item1"?
This cant be impossibleYou dont have anything called "Item1" -- anywhere...
you've got Maps[0][0] = "Item1A"
Can you just say in english what you are trying to do...e.g. "make sure Viewport1 and Viewport2 are the same"... or something else?
Im at complete confusion.
Im trying to:
Create a variable from Viewport2 selection. But do this i need the index of BOTH Viewport1 and Viewport2 to continue.
So say: Viewport1; Item 1 selected. And if Viewport2 Item1A selected i have Yes/True. Then i can/want to make another variableso whats wrong with:
if (Viewport1.getValue() == Viewport2.getValue()) { //do somehting here.. }
-
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur both what are equal true? There is NO "True" inside the array
there is no way that Maps[any value here] will EVER = true.
it can only ever = the contents of one of the array slots or undefined.
Then to "Item1"?
This cant be impossibleYou dont have anything called "Item1" -- anywhere...
you've got Maps[0][0] = "Item1A"
Can you just say in english what you are trying to do...e.g. "make sure Viewport1 and Viewport2 are the same"... or something else?
Im at complete confusion.
Im trying to:
Create a variable from Viewport2 selection. But do this i need the index of BOTH Viewport1 and Viewport2 to continue.
So say: Viewport1; Item 1 selected. And if Viewport2 Item1A selected i have Yes/True. Then i can/want to make another variableso whats wrong with:
if (Viewport1.getValue() == Viewport2.getValue()) { //do somehting here.. }
HiseSnippet 6274.3oc68rEaabkcCk7XaIG+LtIoXSKlJDTHW4vv2hbMBzHIpW1TYnHksrS7B6QjWRNwC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FDq85JzP7DMTfRBwRzfRA4YFQCATXEOMCUoVO6nDzPvzhMyj2LThB+KDxltJkmipsJ.uwf2N03V7fAItd73f1pg.3urY8wXRSHTjNO8YRQqOITlR09lDTLHZ2RdVUzPaJ4YNQdVSTWYtadd+crOLGLn5g.68O+m4GLn70q0OXPsOOXP0yim9u0Mw3eM9CjOqIpsqHOuXhbH843RrCiUnLLJYevTteaB1JGsbzWuixIgnil3cHM2G0Vvdh77jouiJ7lqZzPXNMXQgqTU+8IOTGAn5ohsev1S.yeeReojCvQ.pdHd7909q6l3wKsq8Tf5+ucNRj0kDocaerLyWK.wnC3sOt9XfQCrGAnHFk.LhPCZj5ExibrrP9Q.pC+Q.pdX5Ovo3tsDR72CwWHwOBP4GAnNTFAn1PmXB2m79Gk2km08Wf2tSHk3B66haNwOBP4GAnNLGAnNjFoah3GoadJJR2DwOR27TejtIhejtwOR2raFoah3Goa1qhzMQ7izM9WRhejtYuLR2DwOR23kHcSD+Hcy9+HcSD+HciejtY+Ujt4WxaQ5lH9Q5lm5izMVAmFfy.h7MGwOx23G4a7i7M9Q9F+HeiqHeytAVdXoOpJVPS8VXE.LzTIz7iSxASsUHQKigXWDRyElognbcx80DJXHlp30tuUgBf.8Ki4T5dahrEZSzsPahsEZS7sPaRrEZy3ag1jbSaCrs4j0MTqRWrGmQ1YnBHArtJp.Cx7+C3XJX.C
Somethings wrong...
If you browse to Item1>Item1A, It works!
But if you browse to :Item2> Item2B it responds with the same output! -
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
-
..we still have no idea what you are trying to do.
-
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Thats the whole problem i've been having... Coded it different before but was still at the same standpoint?
How can i change it? -
@ten7kur said in get Index from 2 arrays simultaneously?:
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Thats the whole problem i've been having... Coded it different before but was still at the same standpoint?
How can i change it?TO WHAT!
-
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Thats the whole problem i've been having... Coded it different before but was still at the same standpoint?
How can i change it?TO WHAT!
That Item2 >Item2B responds the same as Item1 > Item1A
It spits ou the same "local Selection = "OK-selected";" @line59 -
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Thats the whole problem i've been having... Coded it different before but was still at the same standpoint?
How can i change it?TO WHAT!
That Item2 >Item2B responds the same as Item1 > Item1A
It spits ou the same "local Selection = "OK-selected";" @line59Please please STOP telling us what it is doing - tell us what you want it to do...
When you press Item 1 and Item1A it should show OK-Selected --which it does..
when you press Item 1 and item2A - what should it do?
when you press Item 1 and item3A - what should it do?when you press Item 2 and item2A - what should it do?
when you press Item 2 and item2B - what should it do? -
@Lindon said in get Index from 2 arrays simultaneously?:
press Item 2 and item2A - what should i
Item2 >Item2B displays the same thing!
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
-
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
press Item 2 and item2A - what should i
Item2 >Item2B displays the same thing!
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Please please STOP telling us what it is doing - tell us what you want it to do...
When you press Item 1 and Item1A it should show OK-Selected --which it does..
when you press Item 1 and item2A - what should it do?
when you press Item 1 and item3A - what should it do?when you press Item 2 and item2A - what should it do?
when you press Item 2 and item2B - what should it do? -
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur said in get Index from 2 arrays simultaneously?:
@Lindon said in get Index from 2 arrays simultaneously?:
press Item 2 and item2A - what should i
Item2 >Item2B displays the same thing!
@d-healey said in get Index from 2 arrays simultaneously?:
@ten7kur That's correct because Item2 has a value of 1 and Item2B has a value of 1
Please please STOP telling us what it is doing - tell us what you want it to do...
When you press Item 1 and Item1A it should show OK-Selected --which it does..
when you press Item 1 and item2A - what should it do?
when you press Item 1 and item3A - what should it do?when you press Item 2 and item2A - what should it do?
when you press Item 2 and item2B - what should it do?Item2 >Item2B should Not give any output!
only Item1>Item1A should display "OK-Selected"The Index is the culprit
Perhaps the question is How do i assign a different/continuos Index from Item1 items -
@ten7kur please answer the questions in turn... all of them.
-
@Lindon said in get Index from 2 arrays simultaneously?:
@ten7kur please answer the questions in turn... all of them.
Whats the question? Please read what i posted. Try the last snippet!