The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.forth
From: m...@iae.nl
Date: Sat, 6 Oct 2012 07:05:12 -0700 (PDT)
Local: Sat, Oct 6 2012 10:05 am
Subject: Re: How do I access the program name / argv[0] in Forth?
On Saturday, October 6, 2012 3:57:23 PM UTC+2, andrew.p...@gmail.com wrote:
It's documented right on the cited page?
> The gforth docs (1) 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?
> 1 http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/OS-command-li...
0 arg ok
-marcel
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||