I created a variable (buffer) and - too late - realised it should be an array.
On attempting to change it I got the following message:
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'?
Changing a variable to an array.
-
- Valued Contributor
- Posts: 1453
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: Changing a variable to an array.
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.