lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


https://sourceforge.net/project/showfiles.php?group_id=32250&package_id=
111829&release_id=222805

http://lua-users.org/wiki/LuaShortReference


Lua short reference - history of changes

Draft 2 (10 Mar 2004):
- Language:
  - corrected identifiers title typo.
  - corrected typo in booleans note.
  - corrected multiline comments.
  - strings: added "[[ ]] can be multi-line".
  - mentioned ".." meanings in table of operators.
  - added coercion examples to assignment paragraph.
  - switched operators with assignment so that ".." is defined first.
  - added optional fixed args before "..." in variable-args function.
  - added "function t.name" shortcut.
  - added example of t.f () function call.
- Basic lib:
  - added __fenv case to setfenv() description.
  - uniformed print() syntax.
  - fixed tonumber() description.
  - ditched SI-correctness by popular demand: KiB -> KB.
- String lib:
  - corrected typo in string indexes note.
  - removed extra ')' after pattern examples.
  - added missing '[', ']' to "%s%l" pattern example, re-tested
examples.
- I/O lib:
  - changed file.write description to include binary strings.
  - removed duplicated standard files.
  - added "in text mode" to io.input, io.output for Windows users.
  - added "Standard files and utility functions".
- Added compiler section.
- Added acknowledgments section.