[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
end of file event
From: |
Maurits Lamers |
Subject: |
end of file event |
Date: |
Wed, 21 Feb 2018 20:52:41 +0100 |
Hi all,
I would like to execute some (embedded scheme) code at the end of an input
file, that is after the last score block.
My current problem is that I am parsing score blocks, but some of the input is
given as a single score block and the content in other files is put in many
score blocks.
During my processing of this content I gather some statistics, and I would like
to write them out to a file at the end of the file. In the current solution, I
am running the export at the end of the finalize event on a score block, which
of course causes the writing of the data to happen at the end of the parsing of
every score block.
What would be the best way to only write out the statistics at the end of the
file?
Thanks in advance!
Maurits
- end of file event,
Maurits Lamers <=