Tutorials with Monkey pro
Monkey Forums/Monkey Programming/Tutorials with Monkey pro
| ||
Hi, I'm Trying The tutorials that comes with monkey pro I always got a Error : Main function must be of type Main:Int() I'm Confused before there where working on monkey demo |
| ||
If I remember correctly, if you 'build' for HTML5 there's no problem with 'void'; otherwise if your target is GLFW you get an error (probably there's no 'void' type in CS... So the solution? just use :Int. Cheers |
| ||
Oke :int() works also For HTML5 Thank you . :) |
| ||
All App overridden methods should be returned as an Int and also the Main function should return an Int. |
| ||
@eveybody Oke Thanks for that Do you know where i can find information to learn because the one comming with monkey are not updated for a beginner like me everything i wrote whas giving errors ::: Do you know a better way to understand this language i look everywhere on the forums. Oke i get this and that but.... Thank you all |