fa/std/args.fa
Ari Archer 9bac4c1555
Add negative number support, argument support and get file contents example
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-19 09:34:52 +03:00

12 lines
185 B
Text

--<
Get nth argument
Takes:
INT: The argument (as an index of argv)
Returns:
STR: The argument
>--
fun get_arg [ int ] str eo
8 mul argv add deref
end