Google Groupes n'accepte plus les nouveaux posts ni abonnements Usenet. Les contenus de l'historique resteront visibles.

returnin arrays from COM to JScript

2 vues
Accéder directement au premier message non lu

CPL

non lue,
24 sept. 2007, 03:50:1324/09/2007
à
On Apr 28 2001, 6:06 am, "Michael Harris" <mik...@mvps.org> 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

Méta-MCI (MVP)

non lue,
25 sept. 2007, 03:37:2525/09/2007
à
Hi!

Use .toArray() for give the information à JScript.

@-salutations

Michel Claveau

0 nouveau message