On 8/24/06, Peter Bailey <pbailey / bna.com> wrote:
> Nicolas Despr?s wrote:
> > On 8/24/06, Jan Svitok <jan.svitok / gmail.com> wrote:
> >
> > [...]
> >
> >> }
> >>
> > You can also use the inline array which is equivalent but look more like
> > CSV:
> >
> > filename1: [ data11, data12, data13 ]
> > filename2: [ data12 ]
> >
> >> otherwise your yaml would look like (array of arrays:)
> >> -
> >>   - filename1
> >>   - data11
> >>   - data12
> >>   - data13
> >> -
> >>   - filename2
> >>   - data21
> >>
> >
> > or this way:
> >
> > - [ filename1, data11, data12, data13 ]
> > - [ filename2, data21 ]
> >
> > Cheers,
>
>
> So, all of the "data" entries in your "filename" arrays are simply
> values? So, each "filename" row is an array in itself? Is that what you
> mean by "inline array?"
>

No. I used this phrase because it is the one used in the Yaml cookbook:

http://yaml4r.sourceforge.net/cookbook/

I just said that there are two ways to write an array in Yaml:

- foo
- bar

or

[ foo, bar ]

Cheers,

-- 
Nicolas Despr?s