diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-01-09 10:51:28 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-01-09 10:51:28 -0500 |
commit | 56f4a4139ad7e81064e25887f959a4a6e5e54a58 (patch) | |
tree | 01645ae916a19e911d2111763beead9faa1ba7ab /doc/gawktexi.in | |
parent | 0e1fd064f13b220a129fc720607d3f62b55b3b19 (diff) | |
download | egawk-56f4a4139ad7e81064e25887f959a4a6e5e54a58.tar.gz egawk-56f4a4139ad7e81064e25887f959a4a6e5e54a58.tar.bz2 egawk-56f4a4139ad7e81064e25887f959a4a6e5e54a58.zip |
Implement optional second array arg to type of returning info on variable internals.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index f8850d9a..ac099ccc 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -4907,6 +4907,15 @@ NaN and Infinity values, instead of the special values @command{gawk} usually produces, as described in @ref{POSIX Floating Point Problems}. This is mainly useful for the included unit tests. +The @code{typeof()} built-in function +(@pxref{Type Functions}) +takes an optional second array argument that, if present, will be cleared +and populated with some information about the internal implementation of +the variable. This can be useful for debugging. At the moment, this +returns a textual version of the flags for scalar variables, and the +array back-end implementation type for arrays. This interface is subject +to change and may not be stable. + @end ignore @node Invoking Summary |