On 2012-10-06 09:55AM, Andrew Pennebaker wrote:
>The gforth docs say to access arguments by calling next-arg, but this omits
>the program name, which would be printed in a C-like language.
>
>Since argv[0] seems to be automatically removed from the argument vector in
>Forth, is there a special function I can call that does return it?

`0 arg` or `argv @ @ cstring>string` both give "gforth" on my system...

--Josh

Reply via email to