235 views
in GUI Development by

Hi,

I want to access 10 string, 5 color and 5 unit32 data from device side using native statement in my GUI component

In one slot me thod I declare the array of string and insert in native statement but in debug console it give error "missing ; at the end of declaration"

Eg

slotmethod
{
  var string str[4];
  var unit32 textcolor[5];
  native ( str, textcolor )
  {
  }
}

1 Answer

0 votes
by

Hi Mike,

try to use array instead of var in order to declare a local array, e.g.

{

  array string str[4];

  array color col[5];

  ...

}

Best regards,

Manfred.

by
Thanks noted

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...