Constructor issue.

About Monkey 2 Forums Monkey 2 Programming Help Constructor issue.

This topic contains 2 replies, has 2 voices, and was last updated by  Richard Betson 2 years, 4 months ago.

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

    Richard Betson
    Participant

    Hi,

    I am trying to use a constructor in an external class (#import file) and can’t seem to get it to work. So as I understand it this pseudo code should work but does not:

    Am I implementing this correctly? When I try to use this method I get an “expecting end of line” error.

    #5805

    codifies
    Participant

    isn’t it…

    = new MyExternalClass(“test”)

    #5807

    Richard Betson
    Participant

    ^Thanks. So much to keep track of I sometimes get lost. 😀

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

You must be logged in to reply to this topic.