lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to parse "location"


From: Urs Liska
Subject: How to parse "location"
Date: Fri, 24 Oct 2014 11:52:28 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

If I use (display location) in a Scheme function I get an output like:


#<location /home/uliska/git/bfsc/fried/das-trunkne-lied/parts/bassclarinet/02.ily:40:3>


How can I access the content of the location (or better: it's constituents), for example to extract the file name and a part of the path (concretely I'd like to extract "bassclarinet" and "02" from the above example)?


TIA
Urs


reply via email to

[Prev in Thread] Current Thread [Next in Thread]