Hi all,
I have a question about "linked format: in Crimson 3.
I'm trying to display temperature values in Celsius and in Fahrenheit, depending on the value of a flag tag (the user will switch a button to select between Fahrenheit or Celsius). My idea is to use a tag "Temperature", and then assign a complex code to this tag, like:
if (Selector = "F")
return Temp_in_F;
else
return Temp_in_C;
This code works for the value.
However, when I try to use the same code for "Format Like", it does not work as expected: does not display the format of the corresponding tag.
What am I doing wrong?
Thank you!
I have a question about "linked format: in Crimson 3.
I'm trying to display temperature values in Celsius and in Fahrenheit, depending on the value of a flag tag (the user will switch a button to select between Fahrenheit or Celsius). My idea is to use a tag "Temperature", and then assign a complex code to this tag, like:
if (Selector = "F")
return Temp_in_F;
else
return Temp_in_C;
This code works for the value.
However, when I try to use the same code for "Format Like", it does not work as expected: does not display the format of the corresponding tag.
What am I doing wrong?
Thank you!