From e2ea3b31c94bb3e1da27c233661cb2a16699c685 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 7 Dec 2020 11:17:30 -0300 Subject: Details (do not affect regular code) * Avoids multiple definitions of 'lua_assert' in test file. * Smaller C-stack limit in test mode. * Note in the manual about the use of false * Extra test for constant reuse. --- manual/manual.of | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index 606771f4..771bace0 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -88,6 +88,11 @@ The type @emph{boolean} has two values, @false and @true. Both @nil and @false make a condition false; they are collectively called @def{false values}. Any other value makes a condition true. +Despite its name, +@false is frequently used as an alternative to @nil, +with the key difference that @false behaves +like a regular value in a table, +while a @nil in a table represents an absent key. The type @emph{number} represents both integer numbers and real (floating-point) numbers, -- cgit v1.2.3-55-g6feb