javascript multdime...
 
Notifications
Clear all

javascript multdimensional array

1 Posts
1 Users
0 Reactions
946 Views
(@zmarkes)
New Member
Joined: 3 years ago
Posts: 1
Topic starter  

Hi there,

is there any possibility to work with multidimensional arrays in simHub Dashstudio?

var Pos = 1;
var Driver = new Array();;
var Data = new Array();

Data['Name'] = 'Driver1';
Driver[1] = Data;
Data['Name'] = 'Driver2';
Driver[2] = Data;

return Driver[1]['Name'];

tried this one as testing, but Driver2 is returned, while it should be Driver1?!

 

Greetings and yes, I`m a noob 🙂

 

 


   
Quote
Share: