Change of current context ? (whos -file ...)

David Bateman adb014 at gmail.com
Mon Sep 22 14:54:40 CDT 2008


John W. Eaton wrote:
> OK, can you send me your preliminary changes as a diff that I could
> apply to look at the scoping problem?  What is the symptom of the
> problem?  How does it fail?


I believe the changset attached is correct, though you might want to 
check that I got the scoping correct. In any case


a = randn(2,2)
save file.mat a
clear a
b = 1
global c
c = randn(3,2)
whos -file file.mat
a
b
c

returns what I'd expect it to return.

Regards
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8562
Url: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080922/15c80647/attachment-0001.ksh 


More information about the Octave-maintainers mailing list