denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Paste


From: Richard Shann
Subject: Re: [Denemo-devel] Paste
Date: Fri, 07 May 2010 14:14:11 +0100

Thanks for this - the explanation is very clear, it should go in the
manual. I have changed it to return #f instead of -1.
Richard

On Thu, 2010-05-06 at 23:06 +0200, Nils Gey wrote:
> On Thu, 6 May 2010 21:19:27 +0200
> Nils Gey <address@hidden> wrote:
> 
> > 2) (d-GetClipObjType 1 0) returns -1 if there is only one staff in the 
> > selection. Is it possible to simply return #f if the first parameter, the 
> > staffcounter, is invalid?
> 
> More explanation:
> 
> (d-GetClipObjType x y) describes the type of object which is in the clipboard 
> on position x (relative staff where 0 is the first copied one) and y (same 
> for objects like notes or directives)
> 
> It returns a number from -1 to ~15 describing the type. 0 means 
> note/chord/rest... 8 measurebreak and so on. If there is no object at x/y it 
> returns -1. But it should return #f. 
> 
> Nils





reply via email to

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