chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] (argv) for scripts vs compiled executables


From: Linh Dang
Subject: Re: [Chicken-users] (argv) for scripts vs compiled executables
Date: Sun, 11 Apr 2004 09:50:37 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

On 11 Apr 2004, address@hidden wrote:

> Linh Dang wrote:
>> Hi I have a script that when compiled, the following code must be
>> changed from
>> (list-ref (argv) (- x 2))
>> to         (list-ref (argv) x)
>>
>
> You should use (command-line-arguments), which will always return
> the argumens passed to the script or executable (minus the program
> name).


thanx





reply via email to

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