view test/nest/script_nest_script_2.m @ 31219:ad9822dedef8

maint: merge stable to default
author Rik <rik@octave.org>
date Tue, 30 Aug 2022 15:25:13 -0700
parents fc4bb4bd1d5e
children
line wrap: on
line source

## script_nest_script.m
if (x > 0)
  r = x * 2;
else
  ## Expect error since nested function should not be
  ## visible in this context.
  r = nest_fun ();
endif