Initialize 2d array

Hi, i´m trying to create a bidimientional array. I have to initialize it and set the sizes of rows and columns but new String(20)(20){} is throwing an error.

Any ideas on how to set the initial size of the array?

Thanks

Syntax is right, you can use it in sign or to set default value.
But
While creating the variable how you created? It should be bidimentional array too… Can you share the screenshot of variable data type?

Thanks,
Meg

Hi @RpaTest_Pwc

Have a look at this sample

multi_dim_array.xaml (5.7 KB)

And this

When using array of array you can only specify top level array bound

Thanks,
Prankur

6 Likes

Thanks!!!

1 Like