常量

    The singleton instance of type , used by convention when there is no value to return (as in a C void function) or when a variable or field holds no value.

    source

    — Constant.

    1. PROGRAM_FILE

    A string containing the script name passed to Julia from the command line. Note that the script name remains unchanged from within included files. Alternatively see @FILE.

    Base.ARGS — Constant.

    1. ARGS

    An array of the command line arguments passed to Julia, as strings.

    Base.C_NULL — Constant.

    1. C_NULL

    The C null pointer constant, sometimes used when calling external code.

    A VersionNumber object describing which version of Julia is in use. For details see Version Number Literals.

    — Constant.

    1. LOAD_PATH

    An array of paths for using and import statements to consider as project environments or package directories when loading code. See Code Loading.

    Base.Sys.BINDIR — Constant.

    1. Sys.BINDIR

    A string containing the full path to the directory containing the julia executable.

    Base.Sys.CPU_THREADS — Constant.

      The number of logical CPU cores available in the system, i.e. the number of threads that the CPU can run concurrently. Note that this is not necessarily the number of CPU cores, for example, in the presence of .

      See Hwloc.jl or CpuId.jl for extended information, including number of physical cores.

      Base.Sys.WORD_SIZE — Constant.

      Standard word size on the current machine, in bits.

      Base.Sys.KERNEL — Constant.

      1. Sys.KERNEL

      A symbol representing the name of the operating system, as returned by of the build configuration.

      Base.Sys.ARCH — Constant.

      1. Sys.ARCH

      A symbol representing the architecture of the build configuration.

      Base.Sys.MACHINE — Constant.

      1. Sys.MACHINE

      A string containing the build triple.

      参见: