added argv and argc interaction

This commit is contained in:
IgorCielniak
2025-12-25 22:37:04 +01:00
parent f76ef276e9
commit 7d6c1fb0d3
3 changed files with 72 additions and 0 deletions

10
args.sl Normal file
View File

@@ -0,0 +1,10 @@
import stdlib/stdlib.sl
import stdlib/io.sl
: main
0 argc for
dup
argv@ dup strlen puts
1 +
next
;