> The other thing that's bothering me with my patch (not your changes) > is that in the function create_straight_flag_char I need both > straight_upflag_length and straight_upflag_length#. I haven't found > a way to pass just one of them and still be able to use the > hashed/unhashed variable in that function. So, currently I pass > both (as len and lenhash parameter) to it, which seems kind of > redundant. Do you know any solution to this or do I really have > pass both the hashed and the unhashed variable to that function?
Assuming you already have `foo' and `foo#'. Then you could do this: def myfunc (expr foo) = bar = foo; define_pixels (bar); ... or a similar `define_XXX_pixels' variant to get `bar' and `bar#'. Werner _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel