Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is there a "struct" data type in vbscript?

3,623 views
Skip to first unread message

Michael Harris

unread,
Apr 19, 2000, 3:00:00 AM4/19/00
to
The closest thing is a VBScript class based object...

Class myStruct
Public foo
Public Bar
End Class

set thing1 = new MyStruct
thing1.foo = "foo"
thing1.bar = "bar"
...
..

--
Michael Harris
MVP Scripting


"Luke Bond" <ga...@one.net.au> wrote in message news:38fe...@pink.one.net.au...
hi all,

anyone know how i can create a struct in vbscript (i'm using ASP) in the
same way that the "struct" keyword works in C?

thanks,
-Luke


Luke Bond

unread,
Apr 20, 2000, 3:00:00 AM4/20/00
to
0 new messages