书栈网 · BookStack 本次搜索耗时 0.010 秒,为您找到 650 个相关结果.
  • memfiles

    Imports Types Procs Iterators Source Edit Authors: Zahary Karadjov, Andreas Rumpf This module provides support for memory mapped files (Posix’s mmap) on the different...
  • Varargs 编译指示

    Varargs 编译指示 Varargs 编译指示 varargs 编译指示只能用于过程(和过程类型)。它告知 Nim 在最后一个指定的参数之后,过程还可以接受数目不定的若干参数。Nim 字符串值将会自动转换为 C 字符串: proc printf ( formatstr : cstring ) {. nodecl , varargs .}...
  • Identifier equality

    100 2024-07-11 《Nim v2.0 Manual》
    Identifier equality Identifier equality Two identifiers are considered equal if the following algorithm returns true: proc sameIdentifier ( a , b : string ): bool = ...
  • Case-Of Macro

    432 2020-10-18 《Nim v1.4 Manual》
    Case-Of Macro Case-Of Macro In Nim it is possible to have a macro with the syntax of a case-of expression just with the difference that all of branches are passed to and proce...
  • 多行注释

    多行注释 多行注释 从语言的 0.13.0 版本开始, Nim 支持多行注释。如下: #[Comment here. Multiple lines are not a problem .]# 多行注释支持嵌套: #[ #[ Multiline comment in already commented out c...
  • 汇编语句

    汇编语句 汇编语句 不安全的 asm 语句支持将汇编程序代码直接嵌入到Nim代码中。 汇编程序代码中引用Nim标识符的标识符应包含在特殊字符中,该字符可在语句的编译指示中指定。默认的特殊字符是 '`' : {. push stackTrace : off .} proc addInt ( a , b : int ): int = ...
  • 注释

    注释 注释 注释在任何字符串或字符字面值之外,以哈希字符 # 开始,文档以 ## 开始: # 注释。   var myVariable : int ## 文档注释 文档注释是令牌;它们只允许在输入文件中的某些位置,因为它们属于语法树!这个功能可实现更简单的文档生成器。 多行注释以 #[ 开始,以 ]# 结束。多行注释也可以嵌...
  • Client Libraries

    Client Libraries from Third-party Developers Client Libraries from Third-party Developers Disclaimer Yandex does not maintain the libraries listed below and hasn’t done any ex...
  • Client Libraries

    Client Libraries from Third-party Developers Client Libraries from Third-party Developers Disclaimer Yandex does not maintain the libraries listed below and hasn’t done any e...
  • Assembler statement

    469 2020-10-18 《Nim v1.4 Manual》
    Assembler statement Assembler statement The direct embedding of assembler code into Nim code is supported by the unsafe asm statement. Identifiers in the assembler code that r...