[Chicken-users] (argv) in scripts and compiled files

2007-10-17 Thread Eugene Ossintsev
Hi, What do you, guys, usually do to make (argv) portable between the scripted and compiled versions of a CHICKEN Scheme program? For some reason (argv) in scripts gives not only the script file name but also the CHICKEN interpreter name with all its options, that is basically not typical

Re: [Chicken-users] (argv) in scripts and compiled files

2007-10-17 Thread Mario Domenech Goulart
Hi Eugene, On Wed, 17 Oct 2007 22:03:20 -0400 Eugene Ossintsev <[EMAIL PROTECTED]> wrote: > What do you, guys, usually do to make (argv) portable between the > scripted and compiled versions of a CHICKEN Scheme program? > > For some reason (argv) in scripts gives not only the script file name >

Re: [Chicken-users] (argv) in scripts and compiled files

2007-10-17 Thread Eugene Ossintsev
Right. RTFM as always. Shame on me. Thanks a lot! :-) On 17-Oct-07, at 10:09 PM, Mario Domenech Goulart wrote: Hi Eugene, On Wed, 17 Oct 2007 22:03:20 -0400 Eugene Ossintsev <[EMAIL PROTECTED]> wrote: What do you, guys, usually do to make (argv) portable between the scripted and compiled

Re: [Chicken-users] (argv) in scripts and compiled files

2007-10-17 Thread Elf
(command-line-arguments) instead of argv, which also doesnt have the arg0 listed. On Wed, 17 Oct 2007, Eugene Ossintsev wrote: Hi, What do you, guys, usually do to make (argv) portable between the scripted and compiled versions of a CHICKEN Scheme program? For some reason (argv) in scripts