diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-12-07 11:17:30 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-12-07 11:17:30 -0300 |
| commit | e2ea3b31c94bb3e1da27c233661cb2a16699c685 (patch) | |
| tree | 1d817c8d90e5fbd2c52dff18383a085f2bc847c1 /manual | |
| parent | 23051e830a8b212f831443eb888e93e30fa8bb19 (diff) | |
| download | lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.gz lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.bz2 lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.zip | |
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.
Diffstat (limited to 'manual')
| -rw-r--r-- | manual/manual.of | 5 |
1 files changed, 5 insertions, 0 deletions
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. | |||
| 88 | Both @nil and @false make a condition false; | 88 | Both @nil and @false make a condition false; |
| 89 | they are collectively called @def{false values}. | 89 | they are collectively called @def{false values}. |
| 90 | Any other value makes a condition true. | 90 | Any other value makes a condition true. |
| 91 | Despite its name, | ||
| 92 | @false is frequently used as an alternative to @nil, | ||
| 93 | with the key difference that @false behaves | ||
| 94 | like a regular value in a table, | ||
| 95 | while a @nil in a table represents an absent key. | ||
| 91 | 96 | ||
| 92 | The type @emph{number} represents both | 97 | The type @emph{number} represents both |
| 93 | integer numbers and real (floating-point) numbers, | 98 | integer numbers and real (floating-point) numbers, |
