Initializing an array
Moderator: Benj
Initializing an array
Is it possible to initialize an array when it is declared or do the values have to be loaded later (i.e. in a calculation block)?
Re: Initializing an array
That is what I have been using as a work-around, but what I wanted to do was to initialize the array with initial values (the same as non-array variables). The Flowcode new variable dialog box appears to support this but I can’t get it to take initial values.
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
Re: Initializing an array
Hi
Several times I had to set a large array by hand. The longest had 800 lines for pixel of a display. I wrote that with an editor and then inserted (copied) in the calculation. Then I took away with the right mouse button "annotations show". And my FC8 program was again well arranged.
regards
Stefan
Several times I had to set a large array by hand. The longest had 800 lines for pixel of a display. I wrote that with an editor and then inserted (copied) in the calculation. Then I took away with the right mouse button "annotations show". And my FC8 program was again well arranged.
regards
Stefan