stem series objects
David Bateman
David.Bateman at motorola.com
Mon Aug 25 07:50:57 CDT 2008
Michael Goffioul wrote:
> On Mon, Aug 25, 2008 at 2:22 PM, David Bateman
> <David.Bateman at motorola.com> 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 {@fun, 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 David.Bateman at motorola.com
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
More information about the Octave-maintainers
mailing list