Page 1 of 1

Calculation Command Icon bug [SOLVED]

Posted: Thu May 30, 2024 12:35 pm
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 514 times
Calculation_Bug_1.png
Calculation_Bug_1.png (405.09 KiB) Viewed 8451 times
Calculation_Bug_2.png
Calculation_Bug_2.png (211.66 KiB) Viewed 8451 times

Re: Calculation Command Icon bug

Posted: Thu May 30, 2024 1:28 pm
by kersing
Is the first line of the calculation empty? If so make sure there is either a comment or a calculation.

Re: Calculation Command Icon bug

Posted: Thu May 30, 2024 1:31 pm
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 681 times

Hopefully we get this resolved soon.

Re: Calculation Command Icon bug

Posted: Thu May 30, 2024 1:46 pm
by Sasi
I didn't think that was the source of the problem.
Thanks for the help.

Sasi

Re: Calculation Command Icon bug [SOLVED]

Posted: Thu May 30, 2024 4:14 pm
by medelec35
Hello.
The issue and work around was reported here

Re: Calculation Command Icon bug [SOLVED]

Posted: Thu May 30, 2024 4:48 pm
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

Re: Calculation Command Icon bug [SOLVED]

Posted: Thu May 30, 2024 4:52 pm
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.

Re: Calculation Command Icon bug [SOLVED]

Posted: Thu May 30, 2024 5:00 pm
by jgu1
Hi Steve!

Thank you. ;)

Jorgen