variables created differently in 3.1.53

Francesco Potorti` Potorti at isti.cnr.it
Mon Mar 9 11:27:53 CDT 2009


===File ~/math/workarea/bug.m===============================
exist("r","var")
whos

if false
  r = 2;
endif
============================================================


In 3.1.52:

octave> clear all
octave> bug
ans = 0
Variables in the current scope:

  Attr Name        Size                     Bytes  Class
  ==== ====        ====                     =====  ===== 
       ans         1x1                          8  double

Total is 1 element using 8 bytes


In 3.1.53:

octave> clear all
octave> bug
ans =  1
Variables in the current scope:

  Attr Name        Size                     Bytes  Class
  ==== ====        ====                     =====  ===== 
       ans         1x1                          8  double
       r           0x0                          0  double

Total is 1 element using 8 bytes

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Bug-octave mailing list