fa/tests/passing/argc.fa
Ari Archer c30a3de674
Deprecate mutability contexts
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-27 13:41:50 +03:00

13 lines
229 B
Text

include 'std/lstd.fa'
include 'std/logic.fa'
fun main [ str str int ] int eo
argc #not if
"There should always be passed at least 1 argument, that is the filename" #error
end
%EXIT_SUCCESS
end
#main #exit