I'm attempting to build a shipping cart using ASP.
I want to store some objects in an array, but every time I attempt this it fails.
1st asp page
2nd asp pageCode:Class cart dim id dim name dim comment end class
my error occurs when I attempt to put the object in the array. Is it possible for an array to hold objects, I don't see why it couldn't.Code:set blah = new cart blah.id = 123 blah.name = "lala" blah.comment = "something" Dim newArray() ReDim Perserve newArray(0) newArray(0) = blah
Thanks in advance.


Reply With Quote
Bookmarks