|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
platform infoOn Linuxecho system.hostOS # "linux" echo hostOS # "linux" echo system.hostCPU # "amd64" The On Windowsecho hostOS # "windows" On Macecho hostOS # "macosx" Probably, I couldn't try it. In the source code we can find this ( hostOS* {.magic: "HostOS".}: string = "" ## A string that describes the host operating system. ## ## Possible values: ## `"windows"`, `"macosx"`, `"linux"`, `"netbsd"`, `"freebsd"`, ## `"openbsd"`, `"solaris"`, `"aix"`, `"haiku"`, `"standalone"`. |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |