Jason Tackaberry wrote: > On 04/19/2007 11:04 AM, Dirk Meyer wrote: >> No, don't make it too complicated. > > Depends on your angle. I think the syntax is simpler, but it would make > the parser more complicated. > > So what are you comments on my other suggestions?
# Begin List: Subgroup | List
# descr of list subgroup
#
# Each item in the list takes the following variables:
# a - desc a
# z - this is a subgroup
# Group 'z' takes the following variables:
# x - desc_x
# y - desc_y
subgroup.list[0].a = 6
# subgroup.list[0].z.x = 7
# subgroup.list[0].z.y = 3
# subgroup.list[1].a = 3
subgroup.list[1].z.x = 8
subgroup.list[1].z.y = 3
Yes, that looks nice. Since we have comments for the variables a and z
itself, it could look like this:
# Begin List: Subgroup | List
# descr of list subgroup
#
# Each item in the list takes the following variables:
# subgroup.list[].a
# desc of a
# subgroup.list[].z
# desc of z
# subgroup.list[].z.x
# desc of z.x
# subgroup.list[].z.y
# desc of z.y
And keep all definitions after that.
Dischi
--
Half of the troubles of this life can be traced to saying yes too
quickly and not saying no soon enough. - Josh Billings
pgpuV1nMnwco0.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
