octave-maintainers
[Top][All Lists]
Advanced

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

Built-in variables


From: John W. Eaton
Subject: Built-in variables
Date: Mon, 8 May 2006 16:24:54 -0400

are no more.

I checked in another fairly large change that eliminates all remaining
built-in variables.  Now they are functions instead.  Here is the NEWS
file entry I wrote for this change.

  * All built-in variables have been converted to functions.  This
    change simplifies the interpreter and allows a consistent
    interface to internal variables for user-defined packages and the
    core functions distributed with Octave.  In most cases, code that
    simply accesses internal variables does not need to change.  Code
    that sets internal variables will change.  For example, instead of
    writing

      PS1 = ">> ";

    you will need to write

      PS1 (">> ");


I've also modified the fixed type in Octave Forge to handle these
changes.  I can't send a diff at the moment because the Source Forge
CVS server is flaking out.  It gives me this message

  ssh_exchange_identification: Connection closed by remote host
  cvs [checkout aborted]: end of file from server (consult above messages if 
any)

on most cvs diff attempts.  If it makes it past this error, it asks me
for a password (even though I successfully checked out a developer
copy using my ssh keys and no password) and then rejects the password
I supply (though I'm fairly sure I'm typing it correctly).

jwe


reply via email to

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