help-octave
[Top][All Lists]
Advanced

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

Re: Is return a keyword?


From: Muthiah Annamalai
Subject: Re: Is return a keyword?
Date: Thu, 28 Sep 2006 16:19:12 -0500

Im sorry, I was confused with the iskeyword() and 
type() functions. I actually used the prompt
help message from 'help return' and *assumed*
that it was a builtin. I did not use type().

Thanks for help.

-Muthu




On Thu, 2006-09-28 at 17:11 -0400, John W. Eaton wrote:
> On 28-Sep-2006, Muthiah Annamalai wrote:
> 
> | Hello there,
> | I have a very basic question; Im not aware of the 
> | status of 'return'. Is it a keyword or a function.
> 
> In Octave, it's a keyword.  See the file src/octave.gperf in the
> sources.
> 
> | When I use type() I get the listing as 'builtin'.
> 
> I don't understand.  Exactly what are you doing with type?  Here is
> what I see:
> 
>   octave:1> type return
>   error: type: `return' undefined
> 
> jwe



reply via email to

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