FCI_DELAYINT is now FCI_DELAYBYTE ?

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Handymicro
Posts: 23
Joined: Sun Aug 10, 2014 6:11 pm
Has thanked: 7 times
Been thanked: 3 times
Contact:

FCI_DELAYINT is now FCI_DELAYBYTE ?

Post by Handymicro »

Hello,

A few days ago, I compiled my program to C and for this delay:
Delay.jpg
Delay.jpg (2.48 KiB) Viewed 3069 times
Flowcode generated this code:
INT.jpg
INT.jpg (4.73 KiB) Viewed 3069 times
Now the exact same Flowcode file generates this code:
BYTE.jpg
BYTE.jpg (4.17 KiB) Viewed 3069 times
I haven't made any changes to flowcode (updates, etc). I can't seem to get flowcode to compile the delay as a INT anymore. Any idea what may have happened, or how I can fix it?

Thanks

Handymicro
Posts: 23
Joined: Sun Aug 10, 2014 6:11 pm
Has thanked: 7 times
Been thanked: 3 times
Contact:

Re: FCI_DELAYINT is now FCI_DELAYBYTE ?

Post by Handymicro »

I also just noticed that the DELAYINT_US and DELAYINT_MS functions are being considered as "Unreferenced" now, while a few days ago they were not.

New (bad) on the left. Old (good) on the right:
UnreferencedRemoved.jpg
(105.46 KiB) Downloaded 541 times
I don't understand what is causing this. Please take a look.

Thanks!

Handymicro
Posts: 23
Joined: Sun Aug 10, 2014 6:11 pm
Has thanked: 7 times
Been thanked: 3 times
Contact:

Re: FCI_DELAYINT is now FCI_DELAYBYTE ?

Post by Handymicro »

So I thought I'd try something, and it worked!

I simply double clicked on that 400 ms Delay icon and then clicked OK. Where Flowcode thinks I made a change to it. Saved, recompiled, and the problem went away.

Still don't know what caused this, or why the above action fixed it. But perhaps it makes some sense to you?!

Thank you.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FCI_DELAYINT is now FCI_DELAYBYTE ?

Post by Benj »

Hello,

It looks like when you open the project the delay will resort back to Byte rather than Int. This is potentially a massive issue which I was totally unaware of so thanks for raising it.

It's now in our bug tracker marked as urgent as this could potentially throw off a lot of people.

Post Reply