diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | eval.c | 2 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2021-05-03 Arnold D. Robbins <arnold@skeeve.com> + + * eval.c (flags2str): Move BOOL entry into the right place in the + list. + * NEWS: Update with info on mkbool. + 2021-05-02 Arnold D. Robbins <arnold@skeeve.com> * awk.h (do_bool): Renamed do_mkbool. @@ -15,6 +15,12 @@ regular numbers; it should not be noticeable most of the time. 2. If the AWK_HASH environment variable is set to "fnv1a" gawk will use the FNV1-A hash function for associative arrays. +3. There is now a new function, mkbool(), that creates Boolean-typed +values. These values *are* numbers, but they are also tagged as +Boolean. This is mainly for use with data exchange to/from languages +or environments that support real Boolean values. See the manual +for details. + Changes from 5.1.0 to 5.1.1 --------------------------- @@ -442,6 +442,7 @@ flags2str(int flagval) { NUMCUR, "NUMCUR" }, { NUMBER, "NUMBER" }, { USER_INPUT, "USER_INPUT" }, + { BOOL, "BOOL" }, { INTLSTR, "INTLSTR" }, { NUMINT, "NUMINT" }, { INTIND, "INTIND" }, @@ -455,7 +456,6 @@ flags2str(int flagval) { XARRAY, "XARRAY" }, { NUMCONSTSTR, "NUMCONSTSTR" }, { REGEX, "REGEX" }, - { BOOL, "BOOL" }, { 0, NULL }, }; |