StendhalScripting/Lua: Difference between revisions
Content deleted Content added
imported>AntumDeluge →Setting Zone: add zone music |
imported>AntumDeluge |
||
Line 173:
myTable.myFunction()
</pre>
== Comparison Operators ==
{| class="wikitable"
|+ Logical Operators
! Operator !! Description !! Java Equivalent
|-
| and || logical ''and'' || &&
|-
| or || logical ''or'' || <nowiki>||</nowiki>
|-
| not || logical ''opposite'' || !
|}
{| class="wikitable"
|+ Relational Operators
! Operator !! Description !! Java Equivalent
|-
| < || less than || <
|-
| > || greater than || >
|-
| <= || less than or equal to || <=
|-
| >= || greater than or equal to || >=
|-
| == || equal to || ==
|-
| ~= || not equal to || !=
|}
= Stendhal Application =
| |||