Mark Sibly

Forum Replies Created

Viewing 15 posts - 1,156 through 1,170 (of 1,431 total)
  • Author
    Posts
  • in reply to: Bug or not for struct Extension #3882

    Mark Sibly
    Keymaster

    Ok, it turns out you can’t currently write to a struct via an extension method.

    I’ll have a look into possibly allowing this later, but for now I’ve added an error message when you attempt to do this.

    in reply to: Construction "r = x ? y else z" #3880

    Mark Sibly
    Keymaster

    This works here with latest mx2cc (was fixed pre v1.0.5 I think):

    in reply to: Clear errors and debugging #3855

    Mark Sibly
    Keymaster

    You should be fixed on github too.

    in reply to: Clear errors and debugging #3843

    Mark Sibly
    Keymaster

    Holy crap, can reproduce it!

    I usually have my file browser in ‘column view’, but if I change to ‘grid view’ (ie: like yours) I get the same problem!

    I can fix it by changing back to column view (or list view) after which it happens again but is fixed the next time I start Ted2.

    Will look into this – very strange though!

    in reply to: Clear errors and debugging #3840

    Mark Sibly
    Keymaster

    What’s that funky mouse circle thing – is it an addon? Can you disable it?

    in reply to: Clear errors and debugging #3838

    Mark Sibly
    Keymaster

    Weird, using exactly the same setup and it doesn’t happen here.

    I did find one minor thing but it’s very unlikely to be the problem – have committed the fix anway, you’ll need to rebuild ted2.

    Also, it does take quite a while to open the first time – but that’s true of pretty much everything on my Mac until it ‘warms up’.

    Does it never show at all? Never close? What are the symptoms exactly?

    in reply to: Clear errors and debugging #3834

    Mark Sibly
    Keymaster

    What versions of macos/monkey2 are you using?

    in reply to: Extension methods #3832

    Mark Sibly
    Keymaster

    > any chance of allowing extension overload methods?

    This should be possible eventually. Will be returning to operator to: and extensions soon-ish.

    in reply to: Clear errors and debugging #3831

    Mark Sibly
    Keymaster

    The mangled output is what Ted2 uses to produce the debugview, so I’m guessing you’re not using Ted2?

    I can clean this up, but I need a way for apps to tell if they’re running in Ted2 or not.

    The debugger itself is pretty primitive right now, generally only useful for ‘post mortem’ debugging (which is all I’ve ever used debuggers for anyway). More features will come, but some will likely have to wait until reflection and other features are added.

    in reply to: Syntax for "Array of Arrays" (Jagged Array) ? #3819

    Mark Sibly
    Keymaster

    Quick demo:

     

    Note that the ‘new’ is sort of back to front, ie: in the ‘New Int[][w]’ bit, w comes last, but when you’re indexing with ‘x’ it comes first!

    This actually makes sense to me as a compiler coder, ie: ‘New Int[][w]’ is w new int arrays, which is what we want, but I think java/c# parse things kind of differently so you end up with ‘New Int[w][]’ instead, which or may not make more sense to others.

    I’m pretty relaxed about changing this if enough people prefer the Java way.

    in reply to: Less verbose lambda syntax #3798

    Mark Sibly
    Keymaster

    Yes, that’s a no.

    I was initially planning on supporting ‘looser’ eol rules, but that wasn’t as easy as I thought it’d be.

    In the end, I sorted of just embraced the whole strict eol approach instead, thinking I might revisit it later. But now, I just don’t see a compelling reason to any more – I like it the way it is.

    in reply to: Streaming Audio #3797

    Mark Sibly
    Keymaster

    Will it work on Android and iOS?

    I’m not sure about iOS but, somewhat to my surprise, it does work on Android! Both the sdl-mixer and openal drivers too (had to increase the ‘polling’ rate of the openal one though).

    I haven’t got bluetooth keyboard working on iOS yet so I haven’t really tested it there.

    in reply to: Extension methods #3736

    Mark Sibly
    Keymaster

    Can you try and put together a runnable example for me to play with?

    in reply to: module PNG2Polygon #3733

    Mark Sibly
    Keymaster

    Sounds interesting!


    Mark Sibly
    Keymaster

    It’s working here – did you rebuild all?

Viewing 15 posts - 1,156 through 1,170 (of 1,431 total)