program_args
with the contents of native_argc
and native_argv
.
# Initialize `program_args` with the contents of `native_argc` and `native_argv`.
private fun init_args
do
var argc = native_argc
var args = new Array[String].with_capacity(0)
var i = 1
while i < argc do
args[i-1] = native_argv(i).to_s
i += 1
end
_args_cache = args
end
lib/core/text/abstract_text.nit:2444,2--2455,4