denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] splitting up (d-GetNotes)


From: Jeremiah Benham
Subject: Re: [Denemo-devel] splitting up (d-GetNotes)
Date: Fri, 24 Jul 2009 12:45:12 -0500

On Fri, 24 Jul 2009 16:57:57 +0100
Richard Shann <address@hidden> wrote:


> It is "",
> if  you test equal? "" returns #t, there are some subtleties about
> equality testing, which I haven't re-visited, I just experimented at
> the guile prompt:
> 
>  (define a "abc\0def\0")
>  (define b (string-split a #\NULL))
>  (display (equal? (list-ref b 2) ""))

Thanks that works. Thanks.
 
> =>
> #t
> 
> HOWEVER:
> I think you should be returning a space separated set of notes 

ok. I will modify d-GetNotes to return a space separated string rather
than a null seperated. (d-GetNotes) needs to be fixed anyway because it
using a gstring that is not freed.  

Jeremiah


>- that
> would be the LilyPond notation (i.e. the contents of < >). It is
> going in the other direction that we have a \0 separator convention -
> passing data to C, so that we can pass strings with any characters in
> them. Richard






reply via email to

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