> > Robin > > > The following seems to read out the value of abc: > > > xyz = #(eval (string->symbol "abc") (interaction-environment)) > > > > Wow, that works! Thanks.
Working with the idea from Robin, I was able to convert a string to a symbol and evaluate it. I tried to make this into a function. For some reason it is not working. In the following, the first definition of xyz, and the use of par in the 2nd format work fine. The second definition of xyz using the function test is giving me the error: In expression ((eval # #)): Wrong type to apply: "parava". The eval itself should have evaluated to this string. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
