octave-maintainers
[Top][All Lists]
Advanced

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

Re: stem series objects


From: David Bateman
Subject: Re: stem series objects
Date: Mon, 25 Aug 2008 14:50:57 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080725)

Michael Goffioul wrote:
On Mon, Aug 25, 2008 at 2:22 PM, David Bateman
<address@hidden> wrote:
3) the off-by-1 error was intentional. In Matlab, callbacks are
always called with at least 2 arguments: the handle of the object
and an optional data specific to the event (for instance, a keypress
event will contain information about the key pressed). Then other
possible arguments are appended, in case the callback has the
form address@hidden, p1, p2, ...}

yes, but then I saw that the function call had to have the form

function fun (h, d, f, p1, p2)

rather than

function fun (h, d, p1, p2)

as I would have expected from the documentation. Are you sure of your
explanation? In any case I left my change to this in for now.

OK, I found the error: the starting index of the for-loop should be
1 instead of 0. The 2-offset for args should be left untouched. Can
you fix it?

Michael.

This is the change I in fact made in my original changeset.. So this should be left alone.

D.

--
David Bateman                                address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



reply via email to

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