| Author |
Collection object in ASP
|
|
| Ivan Debono 2004-10-29, 8:55 am |
| Hi,
How is it possible to instantiate an new collection in asp serverside??
Thanks,
Ivan
| |
| Dave Anderson 2004-10-29, 3:55 pm |
| Ivan Debono wrote:
>
> How is it possible to instantiate an new collection in asp
> serverside??
That's a bit nonspecific for a short answer. What exactly are you trying to
accomplish?
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
| |
| Ray Costanzo [MVP] 2004-10-29, 3:55 pm |
| Also tell us what language you're using too please, vbscript or jscript?
Ray at work
"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:O2mRu8bvEHA.2012@TK2MSFTNGP15.phx.gbl...
> Ivan Debono wrote:
>
> That's a bit nonspecific for a short answer. What exactly are you trying
> to
> accomplish?
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message.
> Use
> of this email address implies consent to these terms. Please do not
> contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>
| |
| Dave Anderson 2004-10-29, 3:55 pm |
| Ray Costanzo [MVP] wrote:
> Also tell us what language you're using too please, vbscript or
> jscript?
You're taking away my fun now, Ray.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
| |
| Ray Costanzo [MVP] 2004-10-29, 3:55 pm |
| Sorry about that. :]
Ray at work
"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:u67saScvEHA.3612@TK2MSFTNGP09.phx.gbl...
> Ray Costanzo [MVP] wrote:
>
> You're taking away my fun now, Ray.
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message.
> Use
> of this email address implies consent to these terms. Please do not
> contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>
| |
| Ivan Debono 2004-10-29, 3:55 pm |
| Sorry about the hassle. I'm using vbscript, and I want to use the Collection
object found in VB.
I was searching a little and found 2 options:
1. Scripting.Dictionary
2. Session.Contents
Which one would you guys suggest??
Thanks,
Ivan
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> schrieb im
Newsbeitrag news:utVrSQcvEHA.3080@TK2MSFTNGP12.phx.gbl...
> Also tell us what language you're using too please, vbscript or jscript?
>
> Ray at work
>
> "Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
> news:O2mRu8bvEHA.2012@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Ray Costanzo [MVP] 2004-10-29, 3:55 pm |
| Dictionary object is the most suitable replacement for a collection object,
which you probably read is not supported in vbscript. Sometimes an array is
more appropriate though, depending on the functionality that you need.
Ray at work
"Ivan Debono" <ivanmdeb@hotmail.com> wrote in message
news:OIS7$0cvEHA.720@TK2MSFTNGP10.phx.gbl...
> Sorry about the hassle. I'm using vbscript, and I want to use the
> Collection object found in VB.
>
> I was searching a little and found 2 options:
>
> 1. Scripting.Dictionary
> 2. Session.Contents
>
> Which one would you guys suggest??
>
> Thanks,
> Ivan
>
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> schrieb im
> Newsbeitrag news:utVrSQcvEHA.3080@TK2MSFTNGP12.phx.gbl...
>
>
| |
| Roland Hall 2004-10-31, 3:55 pm |
| "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%235WTj%23cvEHA.2116@TK2MSFTNGP14.phx.gbl...
: Dictionary object is the most suitable replacement for a collection
object,
: which you probably read is not supported in vbscript. Sometimes an array
is
: more appropriate though, depending on the functionality that you need.
:
: Ray at work
I thought a dictionary object was similar to a PERL associative array and it
is supported in vbscript. Did I misread your response?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
| |
| Ray Costanzo [MVP] 2004-10-31, 8:55 pm |
| Maybe I didn't word it real well. What I meant is, yes, a
Scripting.Dictionary is supported, but not a "set x = New Collection" as in
VB.
Ray at home
"Roland Hall" <nobody@nowhere> wrote in message
news:OKQM153vEHA.3320@TK2MSFTNGP14.phx.gbl...
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:%235WTj%23cvEHA.2116@TK2MSFTNGP14.phx.gbl...
> : Dictionary object is the most suitable replacement for a collection
> object,
> : which you probably read is not supported in vbscript. Sometimes an
> array
> is
> : more appropriate though, depending on the functionality that you need.
> :
> : Ray at work
>
> I thought a dictionary object was similar to a PERL associative array and
> it
> is supported in vbscript. Did I misread your response?
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
> http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>
>
|
|
|
|