Mercurial > octave-nkf
view test/nest/varg_nest2.m @ 20176:42bb3a776c9f stable rc-4-0-0-4
maint: Bump version number for 4.0.0-rc4.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 Apr 2015 12:17:57 -0400 |
parents | 8e2906e2fb26 |
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