[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Argv in scripts vs argv in compiled code.
From: |
Sven Hartrumpf |
Subject: |
Re: [Chicken-users] Argv in scripts vs argv in compiled code. |
Date: |
Thu, 22 Aug 2002 09:14:41 +0200 (CEST) |
On 21 Aug 2002, William Annis <address@hidden> wrote:
> wazor /u/annis/tmp/argv $ cat c1.scm
> #!/u/annis/local/bin/csi -script
>
> (print (argv))
> wazor /u/annis/tmp/argv $ ./c1.scm
> (/u/annis/local/bin/csi -script ./c1.scm)
> wazor /u/annis/tmp/argv $ csc c1.scm
> wazor /u/annis/tmp/argv $ ./c1
> (./c1)
If you use SRFI-22 instead (see the chicken manual for an example),
your problem is solved and your code becomes more portable.
Ciao
Sven