- Subject: Re: [slang-users] foreach in one array dimension
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Sat, 3 Jun 2006 18:45:47 -0400
Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>g([ ["foo"], ["foo"] ]);
This does not define an array of two arrays. Rather, it defines an
array of String_Type[2]. If you want an array of arrays, then you
will have to explicitely create it:
a = Array_Type[2];
a[0] = ["foo"];
a[1] = ["bar"];
--John
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]