[changeset] - have closereq() respect the property "tag"
Ben Abbott
bpabbott at mac.com
Mon Oct 20 10:37:23 CDT 2008
On Oct 20, 2008, at 11:28 AM, John W. Eaton wrote:
> On 9-Oct-2008, Ben Abbott wrote:
>
> | Presently closereq() checks the handle value to be sure it is not
> | equal to 0.
> |
> | Instead it should check that the handle is assigned to a figure.
>
> Should we also avoid the error for (possibly) calling delete (0)? I'm
> not even sure that can happend, and at least calling delete (0)
> doesn't actually delete the root figure, so I suppose this change is
> OK.
>
> Thanks,
>
> jwe
In Matlab
>> get(0,'type')
ans = root
In Octave
octave:49> get(0,'type')
ans = root_figure
So I think we should be ok.
Ben
More information about the Octave-maintainers
mailing list