gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] How do I access the program name / argv[0] in Forth?


From: Andrew Pennebaker
Subject: Re: [gforth] How do I access the program name / argv[0] in Forth?
Date: Sat, 6 Oct 2012 13:43:23 -0400


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

Ah, that's better!

How could I reliably access the program name if the user decides to pass some options to gforth before supplying the source code file name?

--
Cheers,

Andrew Pennebaker
www.yellosoft.us

reply via email to

[Prev in Thread] Current Thread [Next in Thread]