Problem with the clear command

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with the clear command

Steven W. Sumner
I am running octave on two different sun workstations and receive
different responses.  Any idea why the following would occur?


RUNNING OCTAVE ON A Sun UltraSparc

mque1(33)% octave
Octave, version 2.0.13 (sparc-sun-solaris2.5.1).
Copyright (C) 1996, 1997, 1998 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.

>> xxx=19; yyy=30;
>> clear xxx
>> who

*** local user variables:

yyy

>> exit


RUNNING OCTAVE ON A Sun SPARCstation 10 :

mqmp5(30)% octave
Octave, version 2.0.13 (sparc-sun-solaris2.4).
Copyright (C) 1996, 1997, 1998 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.

>> xxx=19; yyy=30;
>> clear xxx
>> who
>> exit


On the UltraSparc machine using solaris 2.5.1, execution of the clear
command behaves appropriately.  On the Sparc10 using solaris 2.4,
execution of the clear command deletes all variables in the workspace.  

Steve Sumner
Federal Reserve Board