Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Lua Programming/case sensitivity

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

The lua interpreter is case sensitive. This means that identifier names containing lowercase letters will be treated as being different and separate from those containing uppercase letters: -- These variables are all different dog = "Benjamin" Dog = "Samba" DOG = "Bernie" print ("The dogs are named " .. dog .. ", " .. Dog .. ", and " .. DOG) Converting Strings The lua interpreter provides the following functions for converting strings to uppercase or to lowercase: