2-dimensional arrays

Problem: Hi, I know that it’s not really possible to have two-dimensional arrays in JS, but you can create an array that consists of arrays as a workaround.
Is this possible in AP as well?
I seem to have problems with it.

Thanks, Rolf

ActivePresenter version:

OS:

Notes:

Hi Rolf,

Yes, it’s possible in ActivePresenter.
For example

var a = [
    ['a00', 'a01', 'a02'],
    ['a10', 'a11', 'a12']
];
console.log(a[0][2]); // will show a02 in the browser console

Regards

1 Like