Annoying Bug

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Alan_37
Posts: 186
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 54 times
Been thanked: 26 times

Annoying Bug

Post by Alan_37 »

Hello,

I've encountered a bug in the C-code block. If you add a C-code block, delete everything inside, and start writing from the second line, the code appears to save correctly. However, after pressing "OK" and reopening the block, all the code is gone.

This issue only occurs when the first line is left blank.

It is not an urgent one, but very annoying

Steve-Matrix
Matrix Staff
Posts: 1449
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 203 times
Been thanked: 341 times

Re: Annoying Bug

Post by Steve-Matrix »

Hi Alan,

Thanks for letting us know. If this happens, then I have a workaround that can be used to retain this.

If you open a C code icon and discover there is no code there, click cancel and then view the macro as C code. Then edit the code of the C-code icon directly in the C-code view (by double-clicking the code) and change the text, ensuring the first line is not blank. Then it can be opened in the flowchart view without issue.

Alan_37
Posts: 186
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 54 times
Been thanked: 26 times

Re: Annoying Bug

Post by Alan_37 »

Hi Steve,

Thanks for your reply, I was not able to do that, if you are referring to the customize code option
that is only available to Pro users.

The only method I found is to compile to C, then in the Build menu View Code, search for the C-code Part, copy and paste it in
a new c-block

Steve-Matrix
Matrix Staff
Posts: 1449
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 203 times
Been thanked: 341 times

Re: Annoying Bug

Post by Steve-Matrix »

Thanks, Alan. That other workaround should help others who face the same issue.

Post Reply