lua operators

Solutions on MaxInterview for lua operators by the best coders in the world

showing results for - "lua operators"
Jacob
08 Oct 2017
1== -- Equal to whatever
2<= -- Less than or equal to
3>= -- Greater than or equal to
4< -- Less than
5> -- Greater Than
6~= -- Doesnt equal
7# -- Length of something
Noemi
17 Nov 2020
1== equal to
2~= not equal to
3< less than
4> greater than
5<= less than or equal to
6>= greater than or equal to
7
8+	Addition
9-	Subtraction
10*	Multiplication
11/	Division
12^	Exponentiation
13%	Modulus
14-	Unary negation
Manuela
31 Apr 2016
1print("blah: " .. (a and "blah" or "nahblah"))
Giacomo
13 Jul 2019
1if 1 == 1 and 2 == 2 then
2  print("cool!")
3end
similar questions
queries leading to this page
lua operators