Forum Replies Created
-
AuthorPosts
-
github… Good joke Mark.
anyway. Wish granted. Bye.
@arpie: No. I even updated mx2cc again (almost half the file size then?!?!), updated Ted2Go again, but the same result.
If the parser reports a missing End, there probably is an End missing somewhere… but not where it thinks it is. Usually much higher up in the code. This is the reason I always use End Class or End Method etc.
I agree absolutely. But if the tool doesn’t tell me the correct location, it is hard to find. My framework fantomX is huge, so I would search for the needle in the haystack.
As it seems that Monkey2 basically isn’t in a state (for me) that let me code easily, I decided to take a break from it now. Initially I considered porting fantomX to M2 because some users asked for it. For personal project I have no need for it.
Plus I have other projects where I can work on in my free time and I don’t want to get to stressed over this.
I wish you all a great time and fun. May your hopes come true. And thanks for listening.
Cheers
MichaelMy PC has Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.
Don’t stress yourself if I am the only one having this problem. Then it might be my system.
@jesse: like i wrote. 1.10.01 works fine here too. Just compile problem.
@arpie: i know. I was just frustrated. I build m2 first with rebuildall. Then build ted2go via calling updateall2go.
Needing help? Nope. When Monkey complains about a missing end in a method, in the middle of a class, which is there. Guess then there is nothing much you can do. I didn’t touch the method above the one that was reported.
Again, no help needed. I will work around this eventually or drop the ball regarding m2. I was just frustrated and needed to let it out.
I just read a comment by arpie that Mark called it MX2 in some of his blog posts. I didn’t know that he was also inconsistant in his branding. Guess it is ok then.
He did? Ok, this all is so twisted, nothing is consistant. I will rest my case then.
Today I decided to get all the newest code from github. Got Monkey2. Build it. Then Ted2Go. Build that too.
Ted2Go in the bundled distribution of 1.1.01 worded fine performance wise. The latest Ted2Go with the latest Monkey crawls on my computer and lags big time. So big that you can’t use it.
How would someone implement an extention to a container while iterating through the same? Simple .AddLast or .Push/.Add?
November 26, 2016 at 3:53 pm in reply to: Workaround for container restrictions during iteration? #5445Kinda, will have to adapt this to add items.
November 26, 2016 at 11:54 am in reply to: Workaround for container restrictions during iteration? #5443I have to add that only in debug mode you get these Concurrent list modification errors. In release mode it works fine.
Thanks!
Here you go. Offending line is #15:
Monkey12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061Namespace bugtest#Import "<std>"#Import "<mojo>"Using std..Using mojo..' The _g variable holds an instance to the cGame classGlobal _g:cGameClass myObject2Field x:FloatField y:FloatField subObj2:List<myObject> = NullEndClass myObjectField x:FloatField y:FloatField subObj:myObject2 = NullEnd'***************************************' The cGame class controls the appClass cGame Extends Window' Create a field to store the instance of the cEngine class, which is an instance' of the ftEngine class itselfField mo:myObject = Null'------------------------------------------Method New()'Super.New("fantomX2 Test",App.DesktopSize.X,App.DesktopSize.Y,Null)Super.New("Test",640,480,Null)ClearColor=New Color( 0,0,0 )mo = New myObjectEnd'------------------------------------------Method OnRender:void(canvas:Canvas) OverrideApp.RequestRender()canvas.DrawText("xxxx", 320,240)EndEnd'***************************************Function Main()New AppInstance_g = New cGameApp.Run()EndI will see what I can do.
Great job. I finally can work in M2 decently. Is Find in Files comming anytime soon?
ok. No problem. I can work around it.
-
AuthorPosts