On Jan 30, 2006, at 2:33 PM, Norman Palardy wrote:
MyVariant() is NOT a type
So it makes no sense
You have to use arrays of basic types (variants, objects, classes)
but not an ... array of array pointers or whatever that is you're
trying to get
Norm, for the last time: we want to return a REALobjectArray, which
means an array of objects or an array of variants (Containing objects).
(And we have proven that that would work when the C-string is declared
with a Byref argument defining an array).
It is a parsing error, not a concept error:
When declaring a c-string in a REALmethodDefinition, or in a
REALLoadObjectMethod, REALbasic does not parse
"MyFunction As Variant()"
correctly, It parses it as
"MyFunction As Variant"
If it needs to parse
"MyFunction() As Variant()"
it sees it as
"MyFunction( As Variant)"
This is a bug, and we are not generating an array of array pointers.
Have you tried the Dictionary.Values and Dictionary.Keys methods in RB?
Those are arrays that are returned, and we use that to generate a
REALobjectArray, a REALstringArray or a REALIntArray in plugin code,
which before the existence of these Dictionary methods couldn't be
accomplished. This is progression not "whatever that is you're trying
to get". Hope you now "get it",
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|