diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-02-17 21:24:24 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-02-17 21:24:24 +0200 |
commit | 2fb99a213dfe3a88087bdccb9f57b6de5f8a5644 (patch) | |
tree | ea541900d428a930bd83c91b2d63c53ec35f7089 /doc/gawk.texi | |
parent | 708196dcbb974209f586a749ef6045c8c3039e1c (diff) | |
download | egawk-2fb99a213dfe3a88087bdccb9f57b6de5f8a5644.tar.gz egawk-2fb99a213dfe3a88087bdccb9f57b6de5f8a5644.tar.bz2 egawk-2fb99a213dfe3a88087bdccb9f57b6de5f8a5644.zip |
Fix calling user defined functions from eval.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index b0b4d3d0..24646435 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -31132,9 +31132,14 @@ You can do anything that an @command{awk} program would do: assign values to variables, call functions, and so on. @quotation NOTE -Do to implementation constraintss, using @code{eval} to call a -user-defined function that returns a value does not work, generating -an error message. We hope to one day remove this constraint. +You cannot use @code{eval} to execute a statement containing +any of the following: +@code{exit}, +@code{getline}, +@code{next}, +@code{nextfile}, +or +@code{return}. @end quotation @item @code{eval} @var{param}, @dots{} |