We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Dictionary Logic

Home Forums Puzzles Dictionary Logic

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #79262
    Brameister
    Participant

    Hi guys, I’m working with a few dictionaries to set variables dinamically on the application, but I’ve come across an issue that I can’t understand. If I try to get a key from a dictionary whose name is determined based on another dictionary and another variable, it doesn’t seem to work. I’ve successfully done this before, so I’ve replicated what I did, but now I can’t get it to work.

    I realize my explanation is kind of confusing, so I’ve attached an image to better illustrate what I mean.

    Attachments:
    You must be logged in to view attached files.
    #79268
    kdv
    Participant

    Why? Because you’re trying to read a key from a string value.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #79276
    Brameister
    Participant

    So obvious, yet I didn’t catch it. Thanks for helping me see that, kdv!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.