Results 1 to 3 of 3

Thread: Dictionary object help!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    14

    Dictionary object help!!!

    Can somebody help me interpret this piece of code... it has to do with dictionary objects...


    dim wk, summary
    Set summary = CreateObject("Scripting.Dictionary")

    comKey = job &" "& item &" "&billingstatus &" "& pitem

    set wk = summary ( comKey )

    it's the last line I don't get. This is not the full sample of code. I just can't seem to figure out what the...

    set wk = summary(comKey)

    ...means. If wk is just a variable why use the Set keyword? Thanks for any possible help. Just FYI, somebody at work coded this and he's since left. I'm TRYING to continue his work but I'm just a junior.

  2. #2
    Fanatic Member
    Join Date
    Jul 2001
    Location
    London UK
    Posts
    671
    So far as I know this should just return a string and the Set keyword is indeed superfluous!

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    14
    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width