help-octave
[Top][All Lists]
Advanced

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

Is return a keyword?


From: John W. Eaton
Subject: Is return a keyword?
Date: Thu, 28 Sep 2006 17:11:28 -0400

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]