Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
14
tests/tcmdline.nim
Executable file
14
tests/tcmdline.nim
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
# Test the command line
|
||||
|
||||
import
|
||||
os, strutils
|
||||
|
||||
var
|
||||
i: int
|
||||
params = paramCount()
|
||||
i = 0
|
||||
writeln(stdout, "This exe: " & getApplicationFilename())
|
||||
writeln(stdout, "Number of parameters: " & $params)
|
||||
while i <= params:
|
||||
writeln(stdout, paramStr(i))
|
||||
i = i + 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue