Vars
orig_argv = newSeqOfCap(argc)
- .. hint:: rely on paramCount<https://nim-lang.org/docs/cmdline.html#paramCount>_ and paramStr<https://nim-lang.org/docs/cmdline.html#paramStr%2Cint>_. See their document for availability. Source Edit
Consts
hexversion = 51577072
- Source Edit
implementation = ("pynim", (0, 9, 8, "alpha", 0), 51577072, (val: "", has: false))
- Source Edit
platform = "linux"
-
Note: the value is standalone for bare system
and haiku/netbsd appended with major version instead of "unknown". In short, this won't be "unknown" as Python does.
Source Edit version_info = (major: 3, minor: 13, patch: 0, releaselevel: "final", serial: 0)
- Source Edit
Templates
template executable(): string
-
returns:
- when nimscript, path of Nim;
- when JavaScript:
- on browser: empty string
- on NodeJS/Deno: executable path of Node/Deno
- otherwise, it's the path of current app/exe.