-
Array with Two Dimensinos Expression
I want to define each dimension separately.
Example:
First, put a “value 1” in [0] dimension.
(And [1] dimension stay without value, to “Second Array Part” below, define [1] with “value 2”).Second, put a “value 2” in [1] dimension.
(And [0] dimension stay without value, to “First Array Part” above, define [0] with “value 1”).Because I will make a if/else condition, I have two variables, and want that each variable define an different dimension.
In short:
“variable 1” with “value 1” define dimension [0];
“variable 2” with “value 2” define dimension [1];Completing two dimensions in property.
A Array divided.
I know that can: Right Click in Property and “Separate Dimensions”.
But, I want to do this in way of expression.
For example, i try this:
x=152;
y=326;[x,y]
It’s OK. But I need with two CONDITIONS IF/ELSE with Separeted Dimensions.
But in the condition if / else, I am required to define the two dimensions. There is the possibility of the condition, set one dimension, leaving the other dimension to another condition?
Another example:
w = 23
h = 34if (“some property” == “some value 1”) “[0] dimension” = w; else 0;
if (“some property” == “some value 2”) “[1] dimension” = h; else 0;
Thanks.