gforth
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[gforth] How do I access the program name / argv[0] in Forth?
From
:
Andrew Pennebaker
Subject
:
[gforth] How do I access the program name / argv[0] in Forth?
Date
:
Sat, 6 Oct 2012 09:55:57 -0400
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?
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
<=
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Josh Grams
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Bernd Paysan
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Bernd Paysan
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
,
2012/10/06
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
,
2012/10/10
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Bernd Paysan
,
2012/10/11
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Bernd Paysan
,
2012/10/11
Re: [gforth] How do I access the program name / argv[0] in Forth?
,
Andrew Pennebaker
,
2012/10/11
Prev by Date:
[gforth] shebang support
Next by Date:
Re: [gforth] shebang support
Previous by thread:
[gforth] shebang support
Next by thread:
Re: [gforth] How do I access the program name / argv[0] in Forth?
Index(es):
Date
Thread