diff options
Diffstat (limited to 'manual/manual.of')
| -rw-r--r-- | manual/manual.of | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of index 5fa4e097..09075346 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
| @@ -9594,12 +9594,18 @@ change between versions. | |||
| 9594 | @item{ | 9594 | @item{ |
| 9595 | The word @Rw{global} is a reserved word. | 9595 | The word @Rw{global} is a reserved word. |
| 9596 | Do not use it as a regular name. | 9596 | Do not use it as a regular name. |
| 9597 | |||
| 9598 | The compilation option @id{LUA_COMPAT_GLOBAL} (see @id{luaconf.h}) | ||
| 9599 | makes @id{global} a regular word. | ||
| 9597 | } | 9600 | } |
| 9598 | 9601 | ||
| 9599 | @item{ | 9602 | @item{ |
| 9600 | The control variable in @Rw{for} loops is read only. | 9603 | The control variable in @Rw{for} loops is read only. |
| 9601 | If you need to change it, | 9604 | If you need to change it, |
| 9602 | declare a local variable with the same name in the loop body. | 9605 | declare a local variable with the same name in the loop body. |
| 9606 | |||
| 9607 | The compilation option @id{LUA_COMPAT_LOOPVAR} (see @id{luaconf.h}) | ||
| 9608 | makes these variables regular (writable). | ||
| 9603 | } | 9609 | } |
| 9604 | 9610 | ||
| 9605 | @item{ | 9611 | @item{ |
