Lua - Operators Precedence Code Example

The code for Operators Precedence

Operator precedence in Lua follows the table below, from lower to higher priority:

     or
     and
     <     >     <=    >=    ~=    ==
     |
     ~
     &
     <<    >>
     ..
     +     -
     *     /     //    %
     unary operators (not   #     -     ~)
     ^
Code by IncludeHelp, on January 2, 2023 20:19

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.