Page 1 of 1

Double colon operator

Posted: Thu Jan 28, 2021 2:29 pm
by chezkrimles
Going from Flowcode V5 to V9 - some questions (I can't find any answers on the forum)...

What does the double colon operator signify?

Do FCVs exist in V9?

In the conversion from V5 to V9, I keep seeing v5_ in front of certain functions. Is this a 'translation' from V5 to V9?

Re: Double colon operator

Posted: Thu Jan 28, 2021 3:02 pm
by Steve-Matrix
chezkrimles wrote:
Thu Jan 28, 2021 2:29 pm
What does the double colon operator signify?
They signify ownership. So "DSPDelay1::Delay()" means the delay function of the DSPDelay1 component.
chezkrimles wrote:
Thu Jan 28, 2021 2:29 pm
Do FCVs exist in V9?
Yes. FCV_ is the prefix given to global variables in the generated C code. FCL_ is used as a prefix for local variables.
chezkrimles wrote:
Thu Jan 28, 2021 2:29 pm
In the conversion from V5 to V9, I keep seeing v5_ in front of certain functions. Is this a 'translation' from V5 to V9?
I think so. There were big changes between v5 and v6 which caused problems with backwards compatibility.