Casting and error: Type 'Void' cannot be invoked

About Monkey 2 Forums Monkey 2 Programming Help Casting and error: Type 'Void' cannot be invoked

This topic contains 2 replies, has 2 voices, and was last updated by  peterigz 3 years ago.

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

    peterigz
    Participant

    I’m not sure what this means. When I try to do type casting I get this error message. Example:

    [/crayon]
    #1031

    Mark Sibly
    Keymaster

    http://monkey2.monkey-x.com/forums/topic/casting-classes-and-subclasses/

    I really should come up with a better error message though…

     

    #1033

    peterigz
    Participant

    Ahh thanks 🙂 Incidentally, I searched for “casting” on this forum and it only showed the first post of that thread, none of the replies so I didn’t think it’d been answered.

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

You must be logged in to reply to this topic.