String array initialisation

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
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

Flowcode v10 String array initialisation

Post by mnfisher »

Just hit an odd bug with array initialisation.

So create an array of strings - x[2][10] for example
Set the initial value to {"abc", "def"} - in v8 this was reported as a syntax error - but in v10 (and v9) - it creates the rather odd expansion of
MX_CHAR FCL_X[2][3] = " \"abc\", \"def\" ";
This (of course) fails at compilation.

Martin

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: String array initialisation

Post by Steve-Matrix »

Thanks. I'll look into this.

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: String array initialisation

Post by Steve-Matrix »

I've fixed that issue. It will be in the next core update.

Post Reply