585 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...