Mercurial > octave
view test/nest/varg_nest2.m @ 31237:e3016248ca5d
uifigure.m: Call set () only if varargin is not empty (bug #63088)
* uifigure.m: Call set () only if varargin is not empty.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 21 Sep 2022 09:55:32 -0400 |
parents | c68b077c8fd6 |
children |
line wrap: on
line source
function x = varg_nest2 [a, b] = f; x = a; if (nargout == 1) x = a; endif function [a, b] = f if (nargout == 2) a = b = 5; endif endfunction endfunction