Hi,
quite often in some packages we just want to quickly copy a bunch of
objects into a bundle, and the names (keys) of the objects can stay the
same. How about adding a shortcut syntax do the defbundle function which
makes that possible?
The idea is that if just the first argument (a string) is provided
(which would up to now be illegal) it would have to be a separated
string with all object labels.
Example:
bundle b1 = defbundle("A,m,someobj")
would be equivalent to:
bundle b1 = defbundle("A",A, "m",m, "someobj",someobj)
Of course the mentioned objects must exist, no change there.
Maybe other whitespace characters as separators could also be supported:
bundle b1 = defbundle("A m someobj")
thanks
sven