degac

Forum Replies Created

Viewing 4 posts - 121 through 124 (of 124 total)
  • Author
    Posts
  • in reply to: Creating new arrays #833

    degac
    Participant

    +1

    I really love (in Bmax) this

    I don’t know if MX2CC can ‘understand’ this type of situation or needs a ‘creation step’ before (I mean how many items can the array store initially).

    At least something to ‘feed’ the array in some way could be handy

     

    No matter, I found the solution on the MonkeyX forum (referring at a blog post here :D)!

     

    In any case I found that this works

    So Int[] and String[] can be ‘instanced & resized’ automatically depending on the items passed

    This one doesn’t work (

    I need to specify the size of the array

    Maybe (probably!) I missed something obvious in the syntax.

     

    in reply to: 2D Arrays #828

    degac
    Participant

    Well, I mean the syntax and the ‘accessing method’ (index separated with commas) is very similar to Bmax.

    Just the definition is different. Maybe it’s a needed step for wider compatibility with the target languages.

    I prefer this 2D array than the ‘standard C’ version [][]

    in reply to: 2D Arrays #824

    degac
    Participant

    Hi

    In MX2 2D arrays are like in Bmax, just define them with New String[w,h] (or New Int…etc)

     

     

    OT:

    Just a side note, the ‘crayon’ highlighter should allow to setup a ‘default’ language when you type in the code-box section… I just noticed you need to select it manually (I’m sure there’s an option for the crayon-module somewhere)

    in reply to: Hot Pink! #659

    degac
    Participant

    Well… I like the color combination of SCALA UI (at the time of AMIGA days! LIKE HERE) – at least for the head/top page, buttons (blog, modules, language…)

    For the single post a white (like in MonkeyX forum) and a proper font (I like the previous one!)

    Pink surely is not so great…

     

Viewing 4 posts - 121 through 124 (of 124 total)