how Make table byte

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Vatel20
Posts: 19
http://meble-kuchenne.info.pl
Joined: Wed Dec 16, 2020 10:07 am

how Make table byte

Post 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.

medelec35
Matrix Staff
Posts: 1496
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 538 times
Been thanked: 487 times

Re: how Make table byte

Post 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
Martin

mnfisher
Valued Contributor
Posts: 1056
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 107 times
Been thanked: 546 times

Re: how Make table byte

Post 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

Vatel20
Posts: 19
Joined: Wed Dec 16, 2020 10:07 am

Re: how Make table byte

Post by Vatel20 »

Thank you for the help. I got it

Post Reply