Crear un array 3D (Three Dimensional Array) de String

Hola buen día, como puedo asignar una variable tridimensional de String y asignarle valores desde UiPath?

En la declaración de variables pongo lo siguiente

Name: VariableA - Type: String - Scope: Undefinied - Default (Value): {"", “”,""}

Pero no puedo asignar valores al 3 elemento ya que solo maneja la sintaxis bidimensional, por ejemplo

VariableA(0)(1) = “A”

Mas no podría realizar

VariableA(0)(1)(1) = “A”

Espero se entienda, saludos

hi @inf_L

Check the below post

Multidimensional arrays

Thanks
Ashwin.S

2 Likes

Thanks for ur answer @AshwinS2, i saw the example and i created the variable String correctly

Initialize as in the example and assign values to (1)(1)(1) but i get the next error

Hi @inf_L

In assign first you have given only one value

Try this
Exa(0)=new string(){}

Thanks
Ashwin.S

1 Like

I solve my problem here!

Create a 3D Array in UiPath

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.