195 views
in Embedded Wizard Studio by
[1.4.2022 14:14:32] Error Test::TraceFormatterClass.ConcatAttributeString (1:5) : Syntax error in the condition of the directive $if or $elseif. The operand results in neither 'true' nor 'false'. Embedded Wizard expects here a valid expression, a macro or the literal 'true' or 'false'.

1 Answer

0 votes
by

Hello Shejeena,

The mentioned compiler error appears because the Test::TraceFormatterClass.ConcatAttributeString() funcion is based on the $TraceXml macro which is not defined in you current platform profile you are compiling.

The possible solutions are the following:

  • Add the $TraceXml macro to your profile (this might not be wanted for production profiles)
  • Create a variant of your class from where you called the Test::TraceFormatterClass.ConcatAttributeString() method; overwrite your method from where you called ConcatAttributeString(); add ConcatAttributeString() to the overwritten method; remove the ConcatAttributeString() call from the base class. As variant condition you can use the $Trace macro. Please find as example the Tests::ToggleButton_Trace class.

Best regards,

Jeno

Embedded Wizard Website | Privacy Policy | Imprint

...