[thelist] tip (was Re: VBScript Arrays: Can... )

fahad almhmed fahad753 at hotmail.com
Wed May 23 14:54:20 CDT 2001



>From: "Warden, Matt" <mwarden at odyssey-design.com>
>Reply-To: thelist at lists.evolt.org
>To: <thelist at lists.evolt.org>
>Subject: [thelist] tip (was Re: VBScript Arrays: Can... )
>Date: Wed, 23 May 2001 15:53:00 -0400
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
> > James Aylard:
> > >     I am working with VBScript arrays, and can't see
> > > any way (looking through Microsoft's VBScript 5.5
> > > Reference) to determine by script how many dimensions
> > > an array has.
> >
> > Ironically, the solution is JScript. If you add this function to
> > your code, you can call it from your VBScript code as
> > UDim(YourArray).
> >
> >   <script language="JScript" runat="server">
> >     function UDim(vbarr) { return vbarr.dimensions(); }
> >   </script>
>
>This needs to be a tip!
>
><tip author="Filip Salomonsson" rewrittenby="mwarden">
>If you want to determine the number of dimensions in a given VBScript
>or JScript array in ASP, try adding this function to your script,
>which you can call from both JScript and VBScript in your ASP file:
>
><script language="JScript" runat="server">
>   function UDim(vbarr) { return vbarr.dimensions(); }
></script>
>
></tip>
>
>
>
>- --
>mattwarden
>mattwarden.com
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
>iQA/AwUBOwwVGXgH0dUmEhrcEQJNxwCfYZ4QO3iJv1kU1DuaQ9bnWhklaqwAoMqi
>XRA35TgcDszigtipINseNgKU
>=mdnL
>-----END PGP SIGNATURE-----
>
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list