书栈网 · BookStack 本次搜索耗时 0.023 秒,为您找到 3572 个相关结果.
  • 8 – Incompatibilities with the Previous Version

    8 – Incompatibilities with the Previous Version 8 – Incompatibilities with the Previous Version Here we list the incompatibilities that you may find when moving a program from ...
  • 2. 环境与模块

    3230 2019-03-02 《Lua编程入门》
    环境与模块 (1) 全局变量与环境 (3) 创建模块 (4) 加载模块 (5) 加载机制 导航 环境与模块 (1) 全局变量与环境 lua 中真正存储全局变量的地方不是在 _G 里面,而是在setfenv(i,table)的table中,所有当前的全局变量都在这里面找,只不过在程序开始时lua会默认先设置一个变量 _G= 这个里面的ta...
  • Compatibility

    Compatibility Implementation limits Lua 5.1 Lua 5.2 Lua 5.3 Lua 5.4 Differences from Lua Compatibility Luau is based on Lua 5.1, and as such incorporates all features of 5...
  • 2.2 – Values and Types

    2.2 – Values and Types 2.2.1 – Coercion 2.2 – Values and Types Lua is a dynamically typed language. That means that variables do not have types; only values do. There are no t...
  • EVAL

    EVAL Introduction and Use Case(s) Syntax Parameter Explanations Return Values Code Examples Best Practices Common Mistakes FAQs What happens if the script has an error? Can...
  • 4.7 – Handling Yields in C

    4.7 – Handling Yields in C 4.7 – Handling Yields in C Internally, Lua uses the C longjmp facility to yield a coroutine. Therefore, if a C function foo calls an API function a...
  • 2.1 – Values and Types

    2.1 – Values and Types 2.1 – Values and Types Lua is a dynamically typed language. This means that variables do not have types; only values do. There are no type definitions in...