chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Argv in scripts vs argv in compiled code.


From: William Annis
Subject: Re: [Chicken-users] Argv in scripts vs argv in compiled code.
Date: Thu, 22 Aug 2002 07:51:30 -0500 (CDT)

 >From: "felix" <address@hidden>
 >
 >I recommend using `(command-line-arguments)'. It returns
 >the arguments passed to the script/executable *without* the
 >stuff prefixing it.

        Huh.  I spent some time digging around looking for things like
this, and missed it entirely even though it's everywhere.  My
unix-centrism led me to search only for "argv."

 >                       If you need to access the script/program-name,
 >then you have to call `argv' and check for the `-script' option.

        I rarely need to do that.

        Thanks.

--
wm




reply via email to

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