Hi Paolo,
sorry for reposting the same question, but I really need help. If this is the wrong ML, please point me to the right one.
sorry for not answering earlier :-)
I can't found any specifications for the use of basic udt's, a part from a small example in the OOBasic guide.
udt's were a completely missing feature. Now - I don't remember since which version - they are available but the implementation is not complete yet. Unfortunately the remaining problems are not so easy to solve.
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?
I've just tried it in a m184 and it did not work.
- Can I use public/private keywords in order to affect the UDT scope?
No, this also does not work yet
- Can I use an UDT as a parameter type into a basic sub or function? example: sub Test( myParam As MyUDT )
Yes
- Can I use Basic UDT's as parameters for Windows API's as it usually happens in VB/VBA ? (guess no)
How do you want to access the Windows API? Via DLL call? This indeed does not support udt's.
- Can I declare an array as an UDT's member ? example Type MyUDT MyList(4) As Long
No. This is handled by an internal issue, but it's set to OOo later currently.
- Can I declare a fixed lenght string as an UDT's member ? Type MyUDT MyFixedString As String*6 ...
Yes, but I'm not sure if this has any effect So this feature is rather incomplete. Sorry to have no better news. Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
