From: "John Chambers" <[EMAIL PROTECTED]> >... You have to buffer the entire tune in > memory, and examine the text after the tune to see if there's a > "%..." line that contains "abc2win".
That in itself is no problem. ABC is so concise that buffering a tune in memory is completely trivial these days. In fact when I started writing my import filter, that was the first thing I did - read the whole file into a string with '\n' for newlines and stick a '\0' on the end. Then one can start parsing it sensibly. The dual use of ! is still, as far as I can see, the worst conflict which has come up in existing files, and something therefore which urgently needs sorting out in a standard. *Anything* which helps divine its purpose in existing files is useful at this stage. Dave David Webber Author of MOZART the music processor for Windows - http://www.mozart.co.uk Member of the North Cheshire Concert Band http://www.northcheshire.org.uk To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html