view test/nest/arg_nest.m @ 21220:d78e45987d6a

rename octave::build_env namespace from octave::config * build-env-features.sh: Rename from ocgt-conf-features.sh. Update for new names. * build-env.h: Rename from oct-conf.h. Also declare features function. * build-env.in.cc: Rename from oct-conf.in.cc. * oct-conf-features.h: Delete. * libinterp/module.mk: Update. * toplev.cc, __init_gnuplot__.cc, octave.cc: Update for new names.
author John W. Eaton <jwe@octave.org>
date Sun, 07 Feb 2016 14:56:17 -0500
parents be18c9e359bf
children fc4bb4bd1d5e
line wrap: on
line source

# arg_nest.m
function x = arg_nest
  x = 1;
  A (x);
  function A (x)
    x = 2;
  endfunction
endfunction