view test/nest/script_nest_script_2.m @ 31597:65157e496f5d

maint: Merge stable to default.
author Arun Giridhar <arungiridhar@gmail.com>
date Wed, 30 Nov 2022 08:03:06 -0500
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