Calculation Command Icon bug [SOLVED]

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Sasi
Posts: 91
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 36 times
Been thanked: 9 times

Flowcode v10 Calculation Command Icon bug [SOLVED]

Post by Sasi »

Hello,

I noticed an interesting phenomenon with the calculation icon.
If I write a relatively large amount of operations in the Calculations window, after saving and reloading the *.fcfx file, the operations to be performed are not visible by clicking the Calculation icon, but they are included in the program when the program is compiled. .
I have attached an example that works like this for me.

Sasi
Calculation_Bug_prg.fcfx
(8.37 KiB) Downloaded 483 times
Calculation_Bug_1.png
Calculation_Bug_1.png (405.09 KiB) Viewed 7735 times
Calculation_Bug_2.png
Calculation_Bug_2.png (211.66 KiB) Viewed 7735 times
Last edited by Sasi on Thu May 30, 2024 1:48 pm, edited 1 time in total.

kersing
Valued Contributor
Posts: 192
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 77 times
Been thanked: 64 times

Re: Calculation Command Icon bug

Post by kersing »

Is the first line of the calculation empty? If so make sure there is either a comment or a calculation.

BenR
Matrix Staff
Posts: 1924
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 684 times

Re: Calculation Command Icon bug

Post by BenR »

This should work correctly. I opened the source code in a text editor and got rid of the initial blank line in the calculation icon.

Calculation_Bug_prg.fcfx
(8.35 KiB) Downloaded 650 times

Hopefully we get this resolved soon.

Sasi
Posts: 91
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 36 times
Been thanked: 9 times

Re: Calculation Command Icon bug

Post by Sasi »

I didn't think that was the source of the problem.
Thanks for the help.

Sasi

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: Calculation Command Icon bug [SOLVED]

Post by medelec35 »

Hello.
The issue and work around was reported here
Martin

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Re: Calculation Command Icon bug [SOLVED]

Post by jgu1 »

Hi Martin!

What happend if we open an older project, will all the calculation the dissapear to, or is it only in new project?
I dare not to open anything at the moment :o

Jorgen

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

Re: Calculation Command Icon bug [SOLVED]

Post by Steve-Matrix »

The calculations only disappear if the calculation icon is opened and then OK is pressed.

If you notice a project which has this problem, then send it to me (via PM) and I will fix it. Or you might be able to edit the file directly in a text editor and remove the blank line(s) or add "//" to the top of the problem calculation statements.

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 669 times
Been thanked: 173 times

Re: Calculation Command Icon bug [SOLVED]

Post by jgu1 »

Hi Steve!

Thank you. ;)

Jorgen

Post Reply