19 lines
435 B
Plaintext
19 lines
435 B
Plaintext
import system'routines;
|
|
import extensions;
|
|
|
|
public program()
|
|
{
|
|
auto n := new Integer();
|
|
auto m := new Integer();
|
|
|
|
console.write:"Enter two space delimited integers:";
|
|
console.loadLine(n,m);
|
|
|
|
auto myArray2 := new object[][](n.Value).populate:(int i => (new object[](m.Value)) );
|
|
myArray2[0][0] := 2;
|
|
myArray2[1][0] := "Hello";
|
|
|
|
console.printLine(myArray2[0][0]);
|
|
console.printLine(myArray2[1][0]);
|
|
}
|