Function Value for Setter

About Monkey 2 Forums Monkey 2 Programming Help Function Value for Setter

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12046

    arpie
    Participant

    Is it possible to pass a setter function as a function value?

    I could use a Method SetX(Int) instead of a property and setter… but I like properties and setters…

    Is it possible to reference the setter method function value (clearly I don’t know its formal name, does it even have one)?

    #12061

    Mark Sibly
    Keymaster

    Nope, this cannot be done.

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

You must be logged in to reply to this topic.