FCI_DELAYINT is now FCI_DELAYBYTE ?

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

Moderator: Benj

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 ?

Postby Handymicro » Thu Apr 16, 2015 12:04 am

Hello,

A few days ago, I compiled my program to C and for this delay:
Delay.jpg
Delay.jpg (2.48 KiB) Viewed 1354 times


Flowcode generated this code:
INT.jpg
INT.jpg (4.73 KiB) Viewed 1354 times


Now the exact same Flowcode file generates this code:
BYTE.jpg
BYTE.jpg (4.17 KiB) Viewed 1354 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 ?

Postby Handymicro » Thu Apr 16, 2015 12:28 am

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 ?

Postby Handymicro » Thu Apr 16, 2015 9:23 pm

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.
These users thanked the author Handymicro for the post (total 2):
LeighM (Fri Apr 17, 2015 8:41 am) • Benj (Mon Apr 20, 2015 11:42 am)
Rating: 10.53%
 

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

Re: FCI_DELAYINT is now FCI_DELAYBYTE ?

Postby Benj » Mon Apr 20, 2015 12:01 pm

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.
These users thanked the author Benj for the post (total 2):
Handymicro (Mon Apr 20, 2015 5:11 pm) • jgu1 (Mon Apr 20, 2015 8:29 pm)
Rating: 10.53%