Hi Andreas, 

Alle 15:19, lunedì 23 ottobre 2006, Andreas Saeger ha scritto:
> Paolo Mantovani wrote:
[....]
> >> I can't found any specifications for the use of basic udt's, a part from
> >> a small example in the OOBasic guide.
> >> But perhaps there could be some recent documentation that I'm not aware.
> >>
> >> Anyway I'm looking for the following information:
> >>
> >> - Can I declare a type into an external library?
>
> A userdefined datatype is valid on module level only (implicitly private).

Yes, I've already found this, but I've asked here because I prefer to base my 
code on official specifications rather than information that I can found 
empirically



> You can implement functions like myLib.moduleUDT.getNewUDT() 

yes, I'm already using this workaround, see for example:
http://www.paolo-mantovani.org/downloads/BasicAddonBuilder

but as I said I was asking for an official specification.


[...]
> No, you can't store arrays in structs, but you can store other
> userdefined structs and uno-structs, just like other objects

Yes I'm already aware of this and I'm currently using variants in order to 
store arrays into UDT's members


Best regards
Paolo M




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to