Sign in to follow this  
Followers 0
jftuga

Using Scripting.dictionary

2 posts in this topic

I found this example in another post, but it does not seem to work under 3.1.1.123. No matter what I use for a value - number or string, I always get back 0 for an answer. Any ideas?

$c = ObjCreate("Scripting.Dictionary")
$c.Item("a") = 1
MsgBox(0, "Dictionary", "Item a = " & $c.Item("a"))

Thanks,

-John

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0