Forum Replies Created
-
AuthorPosts
-
Don’t know about another user’s names with space,
but link on Mark Sibly goto @admin. Maybe we can use it…
Ok. Your system seem to be good. Wait for any other with such problem if any.
It’s good to look at sources of mojox module to better undertanding.
Maybe you’ll find some more suitable views to extend then the base View class.
MikeHart, Please, post your PC config (but if prev version worked fine…).
Does anyone have the same problem?
Minor fixes only.
Good. But only single line strings worked with that plain-text.
Did you attach this view to a window? Window class is an entry point for all your views.
pseudocode:
Monkey1234567Class MyWindow extends WindowMethod New(...params here...)Super( ..params.. )ContentView=New MyView '<- now your view is a main view of a windowEndEndAlso pay attention to some view-based classes have OnContentMouseEvent not a OnMouseEvent.
Well done guys, keep up the good work!
I know.. just need to be more attentive.
Oh.. really. I keep opened stack.monkey2 file and don’t see that it’s a class, omg..
I found another error in my code, which I began to doubt in the stack work.
Big Thanks, Mark!
You should to replace setting.Get(Null) with setting.Get(Self) because Null is used for Globals only.
I just moved Windows folder from products to my win10 desktop and run .exe – it’s worked.
Only one my project depends on folders hierarchy – ted2go, it must be ‘near’ to modules and mx2cc.
Don’t know what happen in your system.
I didn’t explain, sorry.
All I need is remove value from stack. But as stack is struct it passed in function as copy-of-stack, and my remove have no effect for original stack. I tried to use inerator, but I got error and did not understand this. And using of reference (via ptr) seems to be the easiest way for me. But now I tried iterator again and understand what I was doing wrong.
So, new code:
Monkey1234567891011Function RemoveFromStack<T,V>:Bool( iter:Stack<T>.Iterator,value:V,equals:Bool( lhs:T,rhs:V ) )While Not iter.AtEndIf equals( iter.Current,value )iter.Erase()Return TrueEndifiter.Bump()WendReturn FalseEndAnd usage:
Monkey1RemoveFromStack<BehWrapper<IBehAwake>,IBehAwake>( stack.All(),awk,BehWrapper<IBehAwake>.Equals )Yesterday I forgot to add prefix here ^
Monkey1<BehWrapper<IBehAwake>,IBehAwake>and got unresolved types error (“Can’t find overload for …. with argument types ….)
Yes. Why not.
This json is used for store settings for all targets you build.
-
AuthorPosts