help-octave
[Top][All Lists]
Advanced

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

Re: perlTK


From: Joao Cardoso
Subject: Re: perlTK
Date: Fri, 04 Feb 2000 19:35:52 +0000

"John W. Eaton" wrote:

> On 31-Jan-2000, Joao Cardoso <address@hidden> wrote:
>
> | Couldn't Octave have a function to do it? Something like
> |
> |    on_idle("user function","user data")
>
> Sure, I've appended a solution.

Thanks!

But is seems that I have misunderstood its usage:

octave:2> function po(data); printf("%s\n",data);fflush(stdout);endfunction
octave:3> po("Hello")
Hello
octave:4> input_event_hook ("po","meee")
error: segmentation violation -- stopping myself...

I have tryed it with the last cvs. Hints?

Thanks,
Joao


--
Joao Cardoso                |   e-mail: address@hidden
INESC, R. Jose Falcao 110   |   tel:    + 351 222094322
4050 Porto, Portugal        |   fax:    + 351 222008487




-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

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