Created
March 4, 2019 09:13
-
-
Save kekeho/0f4349c41f041cb9bdd138bbe95bccac to your computer and use it in GitHub Desktop.
argc/argv at nim-lang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
let argc = paramCount() | |
# プログラム名以外(C言語等におけるargv[1]以降) | |
let argv = commandLineParams() | |
# プログラム名のフルパス(C言語等におけるargv[0]) | |
let programName = getAppFilename() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment