I can not figure out how to return an array of strings from my plugin.
Is possible?
If so: Any clue is appreciated.
Dan
I can not figure out how to return an array of strings from my plugin.
Is possible?
If so: Any clue is appreciated.
Dan
of you can. Return a REALarray and use REALCreateArray() to create one. For arrays you can use the insert function in the SDK to fill it.
When I do this:
REALproperty DansClassProperties[] = {
{ “”, “Files()”, “String”, REALconsoleSafe, REALstandardGetter, REALstandardSetter, FieldOffset( DansClassData, mFiles ) },
}
I get an error when RB/Xojo tries to run the plugin: It does not seems to like Files()
I don’t use arrays as properties in my plugin. Probably because that does not work.
Better make a method returning array.
Thanks,
You just saved me a lot time.
What happens if you define the property name as “Files” and type as “String()” ?
Welcome back Mars.
No success (I do not need to return the array as a property.)