Jesse

Forum Replies Created

Viewing 12 posts - 286 through 297 (of 297 total)
  • Author
    Posts
  • in reply to: Need help converting monkey 1 to monkey 2 code. #1481

    Jesse
    Participant

    well I isolated the code and it seems to work fine. it has to be from other files that are accessing it.

     

    Thanks Impixi for your help.

    in reply to: Need help converting monkey 1 to monkey 2 code. #1479

    Jesse
    Participant

    I don’t think that’s the issue. the problem seems to be when creating an instance of generic such as:

    </p><p>new T().</p><p>

    in reply to: Error: Missing Return Statements #1477

    Jesse
    Participant

    I think so too.

    you can also implement it like this so it won’t look so bad:

    in reply to: Need help with Lists (code sample included) #1470

    Jesse
    Participant

    I posted a bug in the development section:

    http://monkey2.monkey-x.com/forums/topic/collectionslist-monkey2-error-in-module/#post-1440

    fix it and it should take care of most of your errors.

    you are going to have to recompile the modules. I think.

    in reply to: Need help with Lists (code sample included) #1468

    Jesse
    Participant

    uncheck the inline box.

    in reply to: Need help with Lists (code sample included) #1463

    Jesse
    Participant

    are you using the hyperlink above where you enter your comment?

    when you click on it a window pops open and you can paste your  code in the code box.

    in reply to: Need help with Lists (code sample included) #1461

    Jesse
    Participant

    use the “<>” above.

    in reply to: Need help converting monkey 1 to monkey 2 code. #1454

    Jesse
    Participant

    it uses this as a base for all my objects:

    I create instance of it the same way you did in your example. it works fine in monkey1 but I can’t figure this errors out.

    in reply to: Need help converting monkey 1 to monkey 2 code. #1450

    Jesse
    Participant

    thanks Impixi. I was wondering about the casting thing. that solved several errors. but I still get these errors (on my code):

    /Users/legend/Desktop/patrol 2/store.monkey2 [38] : Error : Can’t find overload for ‘new(…)’ with argument types ()
    /Users/legend/Desktop/patrol 2/store.monkey2 [29] : Error : Missing return statement
    /Users/legend/Desktop/patrol 2/store.monkey2 [18] : Error : Can’t find overload for ‘new(…)’ with argument types ()
    /Users/legend/Desktop/patrol 2/store.monkey2 [19] : Error : Identifier ‘c’ not found
    /Users/legend/Desktop/patrol 2/store.monkey2 [20] : Error : Identifier ‘c’ not found

    in reply to: V1.0.0 now out and hearts are back! #1446

    Jesse
    Participant

    me too!

    in reply to: Need help converting monkey 1 to monkey 2 code. #1442

    Jesse
    Participant

    I don’t know how that got removed.  I do have it on my original code. apparently in the process of figuring out how to post code here it got removed. So the error happen with the “<T>” in place.

    in reply to: Extending classes and Override question #1092

    Jesse
    Participant

    so how do you access the method in the extended class are we still using the extended Class?

Viewing 12 posts - 286 through 297 (of 297 total)