On May 15, 2006, at 2:58 PM, Mars Saxman wrote:
On May 14, 2006, at 9:54 PM, Ronald Vogelaar wrote:
This I found no longer working:
Script:
Sub SomeSub( s As String )
C_SomeSub( s )
End Sub
Context:
Sub C_SomeSub( v As Variant )
Ah. I'm surprised you ever got that to work. Variants can contain
objects, so they aren't allowed on context methods. I'm surprised
that RbScript failed to catch these in the past. Which version did
you try this in?
The other issue that cost me a bit more aggravation (in the end, I
could
work around it, so for me this is no immediate show stopper
either): It
appears you can no longer pass an object through the context in
either way.
You were never supposed to be able to do that in the first place;
that's the whole point. The compiler disallows it for a reason;
even if you can find a loophole, you shouldn't use it unless you
like solving obscure crashes that only occur under rare conditions
having no apparent connection to the source of the bug.
..which I do.
Charles Yeomans
_______________________________________________
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>