Properties on Plugin classes do not seem to accept array syntax

Properties on Plugin classes do not seem to accept array syntax

I tried putting the () array syntax on the name of the property, and also tested putting on the type, but Xojo IDE will not allow either of them.

Using Getter Setter pair plugin method will also choke if it is array

{ (REALproc)GetTagNames, (REALproc)SetTagNames, “TagNames() as String()”,REALconsoleSafe},

But that works since we have that, but usually only one item:

I would say that Xojo never supported arrays as properties in plugin classes.

I got it to work by splitting it in 2 but still property like syntax

{ (REALproc)GetTagNames, REALnoImplementation, “TagNames() as String()”,REALconsoleSafe},
{ REALnoImplementation, (REALproc)SetTagNames, “TagNames(assigns values() as String)”,REALconsoleSafe},

You have the assigns already, so the SetTagNames should go in first function, I think.

No I mean it works now as shown above where one line does assigns and the other just returns.

I think why it does not work in one line is glitch in the Xojo wrapper, where it does not realize the type when its array.

See <https://xojo.com/issue/47593>

Your actually correct there I was misunderstanding your post.