Page 1 of 1
FC7 2D Arrays
Posted: Sat Aug 22, 2020 12:01 pm
by Docara
Hi
Can FC7.3 do 2d Arrays yet?
thanks
Re: FC7 2D Arrays
Posted: Sat Aug 22, 2020 6:46 pm
by mnf
Hi,
As mentioned in previous posts on this topic - FC can do 2d arrays.
I did a simple example:
Note that I use an Assign function to assign each string to the array (this is a limitation of C rather than FC - you can initialise variables at their declaration rather more succinctly)
This just declares a 2d array (10x10) to assign a string to the digits (0 = ZERO etc) - then just dumps them to UART...
Martin