Mercurial > hg > octave-nkf
diff NEWS @ 5794:1138ced03f14
[project @ 2006-05-08 20:23:04 by jwe]
author | jwe |
---|---|
date | Mon, 08 May 2006 20:23:07 +0000 |
parents | faafc2d98b8d |
children | 7e7ed81f5566 |
line wrap: on
line diff
--- a/NEWS +++ b/NEWS @@ -4,8 +4,9 @@ * Previous versions of Octave had a number of built-in variables to control warnings (for example, warn_divide_by_zero). These variables have been replaced by warning identifiers that are used - with the warning function to control the state of warnings. Now, - instead of writing + with the warning function to control the state of warnings. + + For example, instead of writing warn_divide_by_zero = false; @@ -44,4 +45,20 @@ help warning_ids + * 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 (">> "); + + + See NEWS.2 for old news.