returnin arrays from COM to JScript
- From: CPL <liming@xxxxxxx>
- Date: Mon, 24 Sep 2007 00:50:13 -0700
On Apr 28 2001, 6:06 am, "Michael Harris" <mik...@xxxxxxxx> wrote:
"...So there is no way to transparentlyreturnanarrayinJScript?..."
To be "JScript-friendly", you have toreturn*everything" via a functionreturnvalue. And as I
said before,JScriptcan handle a SAFEARRAY by converting it with VBArray() since aJScriptarray
isn't really anarraybut rather a special (IDispatch[Ex] based)JScriptobject with numeric
properties.
JScript takes array[0] as array.0
.
- Follow-Ups:
- Re: returnin arrays from COM to JScript
- From: Méta-MCI \(MVP\)
- Re: returnin arrays from COM to JScript
- Prev by Date: Re: How to optimize this JavaScript?
- Next by Date: retecasa script
- Previous by thread: How to optimize this JavaScript?
- Next by thread: Re: returnin arrays from COM to JScript
- Index(es):
Loading