Mercurial > octave
view test/local-functions/local_function_eval.m @ 30949:7d99816e9709 stable
ls.m: Improve wording in docstring (bug #62282).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 21 Apr 2022 17:52:31 +0200 |
parents | 1fbd8afcf625 |
children |
line wrap: on
line source
function status = local_function_eval () eval ("y = 5;"); status = local_fcn ("y = 6;"); endfunction function status = local_fcn (expr) eval (expr); status = exist ("y", "var"); endfunction