Page 1 of 1

how Make table byte

Posted: Sat Jun 26, 2021 1:15 pm
by Vatel20
Hi, I'm trying to make a table in " byte Table[5]={10,20,30,40,50}; in Flowcode how to do it?
Thanks.

Re: how Make table byte

Posted: Sat Jun 26, 2021 1:25 pm
by medelec35
Hi, Vatel20.
Flowcode has a Lookup Table component.
Within Component Libraries Ribbon, select the Search icon on the far left and enter loo.
You should see the Lookup Table appear.
The Lookup Table component can also be found by selecting the Storage icon.
Alternatively, when you add a variable, Enter 5 in the Array Length box, then select Add Array Dimension

Re: how Make table byte

Posted: Sat Jun 26, 2021 1:40 pm
by mnfisher
Hi Vatel20,

You can also initialize the array in FC v9

Put Table[5] when creating variable and
{10,20,30,40,50} in the initial value box...

Martin

Re: how Make table byte

Posted: Sat Jun 26, 2021 2:09 pm
by Vatel20
Thank you for the help. I got it