Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 535 Bytes

programmingInLua.md

File metadata and controls

37 lines (28 loc) · 535 Bytes

Programming In Lua

The basics

Getting started

  • chunks
  • interactive shell
  • dofile function
  • identifiers
  • short & long comments
  • default value of variables
  • basic types
  • type function
  • nil
  • removal of a variable
  • boolean
  • logical operators

Numbers

  • two numeric subtypes
  • arithmetic operators
  • relational operators
  • the math library
  • conversion between numeric subtypes

Strings

  • the string library
  • length operator
  • concatenation operator
  • escape sequences
  • long strings
  • the utf8 library