objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
157 stars 11 forks source link

[discussion] Initialize multidimensional array directly #283

Closed ghost closed 1 year ago

ghost commented 1 year ago

Continue the discussion on https://github.com/objeck/objeck-lang/issues/275#issuecomment-1666518542

objeck commented 1 year ago

Try the following

a := [
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9]];
a->PrintLine();