书栈网 · BookStack 本次搜索耗时 0.008 秒,为您找到 423 个相关结果.
  • 从目录中集体导入

    从目录中集体导入 从目录中集体导入 语法 import dir / [moduleA, moduleB] 可用于从同一目录导入多个模块。 路径名在语法上是Nim标识符或字符串文字。如果路径名不是有效的Nim标识符,则它必须是字符串文字: import "gfx/3d/somemodule" # 在引号中因为'3d'不是有效的Nim标识符...
  • String type

    348 2020-10-18 《Nim v1.4 Manual》
    String type String type All string literals are of the type string. A string in Nim is very similar to a sequence of characters. However, strings in Nim are both zero-terminat...
  • 定义

    1150 2020-04-25 《Nim 1.2 语言手册》
    定义 定义 Nim代码指定一个计算,该计算作用于由称为 位置 的组件组成的内存。 变量基本上是位置的名称。每个变量和位置都是某种 类型 。 变量类型叫做 静态类型 ,位置的类型叫做 动态类型 。 如果静态类型和动态类型不一样,它是动态类型的一个超类型或子类型。 标识符 是声明为变量,类型,过程等的名称的符号。 声明适用的程序区域叫做 作用域 ...
  • Emit编译指示

    Emit编译指示 Emit编译指示 emit 编译指示可用于直接影响编译器代码生成器的输出。 因此,它使您的代码无法移植到其他代码生成器/后端。 它的使用非常不鼓励的。但是,它对于与 C++ 或 Objective C 代码非常有用。 示例: {. emit : """ static int cvariable = 420; """ ....
  • 客户端开发库

    第三方开发库 第三方开发库 声明 Yandex没有 维护下面列出的库,也没有做过任何广泛的测试来确保它们的质量。 Python infi.clickhouse_orm clickhouse-driver clickhouse-client aiochclient asynch PHP smi2/phpclickhouse 8bit...
  • Emit pragma

    688 2020-10-18 《Nim v1.4 Manual》
    Emit pragma Emit pragma The emit pragma can be used to directly affect the output of the compiler’s code generator. The code is then unportable to other code generators/backen...
  • 客户端开发库

    第三方开发库 第三方开发库 声明 Yandex没有 维护下面列出的库,也没有做过任何广泛的测试来确保它们的质量。 Python infi.clickhouse_orm clickhouse-driver clickhouse-client aiochclient asynch PHP smi2/phpclickhouse 8bi...
  • compile time define pragmas

    632 2020-10-18 《Nim v1.4 Manual》
    compile time define pragmas compile time define pragmas The pragmas listed here can be used to optionally accept values from the -d/—define option at compile time. The implem...
  • cstring type

    704 2020-10-18 《Nim v1.4 Manual》
    cstring type cstring type The cstring type meaning compatible string is the native representation of a string for the compilation backend. For the C backend the cstring type r...
  • Header编译指示

    Header编译指示 Header编译指示 header 编译指示与 noDecl 编译指示非常相似:它几乎可以应用于任何符号并指定不应该声明它,而生成的代码应该包含一个 #include : type PFile {. importc : "FILE*" , header : "<stdio.h>" .} = dist...