empty calculation after rename variable?

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 1094
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 207 times
Been thanked: 229 times

empty calculation after rename variable?

Post by stefan.erni »

Hi to all

In a working program i can not change the calculation anymore. It's empty.
Before i have rename the variable from themp_16 to temp_16.
Maybe a problem?
Attachments
post_calculation1.fcfx
(7.17 KiB) Downloaded 568 times
2024-05-17_18-17-48.PNG
2024-05-17_18-17-48.PNG (52.66 KiB) Viewed 9370 times

Steve-Matrix
Matrix Staff
Posts: 1599
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 222 times
Been thanked: 373 times

Re: empty calculation after rename variable?

Post by Steve-Matrix »

Hi Stefan,

There is a small issue with the calculation icon window in the latest v10.1.1 version of Flowcode. If the first line of a calculation is a blank line, then the calculation icon dialog will be empty when it is opened, and if OK is then pressed, the calculation icon contents will be cleared.

The workaround for this is to always have something at the beginning of the list of calculations. If you want a blank line at the beginning of the list, then you should use "//" instead.

medelec35
Matrix Staff
Posts: 2132
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 660 times
Been thanked: 720 times

Re: empty calculation after rename variable?

Post by medelec35 »

Any current V10 projects can be easily fixed, if you want all the lines visible again.
Keep a backup copy just in case.
Open your .fcfx project file with a text editor like Notepad++.
select Search >Replace
Within Find what: box enter

Code: Select all

<exp exp='' />
Leave Replace with: blank.
Select Replace All
Finally Select save.
Martin

jgu1
Posts: 835
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 730 times
Been thanked: 186 times

Re: empty calculation after rename variable?

Post by jgu1 »

Hi Martin!

When will this bug be fixed please. ;)

Br Jorgen

Steve-Matrix
Matrix Staff
Posts: 1599
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 222 times
Been thanked: 373 times

Re: empty calculation after rename variable?

Post by Steve-Matrix »

We will try to get a release out soon. Hopefully this month or next.

jgu1
Posts: 835
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 730 times
Been thanked: 186 times

Re: empty calculation after rename variable?

Post by jgu1 »

Thank you Steve :D

Steve-Matrix
Matrix Staff
Posts: 1599
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 222 times
Been thanked: 373 times

Re: empty calculation after rename variable?

Post by Steve-Matrix »

Hello @jgu1. I have sent you a PM about this issue.

jgu1
Posts: 835
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 730 times
Been thanked: 186 times

Re: empty calculation after rename variable?

Post by jgu1 »

Hi Steve, I have answer you PM :D

Post Reply