Changing a variable to an array.

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
Valued Contributor
Posts: 1788
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 151 times
Been thanked: 846 times

Changing a variable to an array.

Post by mnfisher »

I created a variable (buffer) and - too late - realised it should be an array.

On attempting to change it I got the following message:
2023-06-15_20-14-25.png
2023-06-15_20-14-25.png (37.16 KiB) Viewed 1145 times
It's minor but this is the 'wrong' sense - I'm trying to convert an integer to an array of integers. Getting rid of the usage of buffer allowed the change to take place . Possibly 'Creating an array from a single value is not possible if variable is in use'?

Steve-Matrix
Matrix Staff
Posts: 1697
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 247 times
Been thanked: 402 times

Re: Changing a variable to an array.

Post by Steve-Matrix »

Thanks. I have change the message to say "You cannot change an in-use variable to or from an array or change the number of its array dimensions" as this covers all the cases where that message could be displayed.

Post Reply