Add Variants to a List not working.

About Monkey 2 Forums Monkey 2 Programming Help Add Variants to a List not working.

This topic contains 2 replies, has 2 voices, and was last updated by  wiebow 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4682

    wiebow
    Participant

    Hello,

    Has anyone tried to add Variants to a list? I am not succeeding.  Is it because they are primitive types? If this doesn’t work I’ll just have to upcast them before adding to the list.

    I’m getting these errors when compiling:

    #4685

    Mark Sibly
    Keymaster

    Just looking into some of these issues right now, and have it mostly working.

    The tricky bit at the moment is comparing variants, so for now I’m going to leave comparisons as simple ‘identitiy’ comparisons.

    This means 2 variants will only be equal if they are the *same* variant, not just 2 variants containing the same value.

    #4694

    wiebow
    Participant

    Good to hear you are working on this. It’s what happens when working with ultra-new stuff 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.