On May 15, 2006, at 1:14 PM, Ronald Vogelaar wrote:


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

How about allowing Variants of certain types only (all but VarType 9)? Would that be an idea?

Sure, that could work. The problem is that it substitutes a run-time check for a compile-time check, which means extra run-time overhead for every call, and fails with a run-time exception instead of a compile-time error, which is harder to debug. Ultimately, were we to budget time for this problem, I'd rather spend it implementing a safe way to transfer objects out of a script's sandbox.

Mars Saxman
REAL Software
_______________________________________________
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>

Reply via email to