cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

boolean array insert value problem

hi,
what i have is a boolean array that i want to insert a true or false constant into.  for example if my boolean array that has 5 values and i want to insert a false value in index 9 it won't let me because it is 'greyed ' out after position 5. a vi is attached to better explain.

thanks
0 kudos
Mensaje 1 de 4
3.339 Vistas
Hi lfoitek,
insert into is not possible in this case, use the reshape array function (connect 9 to it) and replace the 9. element with the value you want insert into your array.

Hope it helps.
Mike
Mensaje 2 de 4
3.331 Vistas
No, you can't insert an new element into an array when there is nothing to insert into. You could do a Replace Array Element if the array was initialized to the size you need or you can use the Build Array but in any case, you have to define all of the elements between the old array and the index of the new element.
Mensaje 3 de 4
3.330 Vistas
thank you. the reshape array does the trick.
0 kudos
Mensaje 4 de 4
3.323 Vistas