Mercurial > octave-nkf
view test/nest/recursive_nest.m @ 20347:85b287475196
use nested module.mk include files for test subdirectories
* test/bug-35448/module.mk, test/bug-36025/module.mk,
test/bug-38236/module.mk, test/bug-38691/module.mk,
test/bug-44940/module.mk, test/class-concat/module.mk,
test/classdef/module.mk, test/classes/module.mk,
test/ctor-vs-method/module.mk,
test/fcn-handle-derived-resolution/module.mk, test/nest/module.mk:
New files.
* test/module.mk: Include them.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 07 Jul 2015 15:18:36 -0400 |
parents | be18c9e359bf |
children |
line wrap: on
line source
# recursive_nest.m function x = recursive_nest () global recursive_nest_inc = 1 x = 5; f (20); function f (n) if n > 0 x = x + recursive_nest_inc; f (n - 1); end endfunction endfunction