-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Wed, 2019-05-15 at 22:57 +0200, Peter Wiehe wrote:
> Thank you very much, but I unsuccessfully tried the following:
>
> -
>
> (define inputfile 0)
>
> (set! inputfile (open-input-file (car (command-line-arguments
>
In that case, command-line-arguments is probably what you want. It will
include the strings for all of the arguments after --load .
On Wed, May 15, 2019 at 3:18 PM Peter Wiehe wrote:
> Well I am misunderstood here. The manual and your answer are about
> commandline args of Scheme in general. I
Well I am misunderstood here. The manual and your answer are about
commandline args of Scheme in general. I am about args specifially for the
program (script). That's a big difference.
I tried to find answers on the web and in the MIT/GNU Scheme docu and in
books. The existing texts (online and
Please read the manual before asking this kind of question. Both your
question about the command line, and the other about compiling files, are
answered in the User's Manual.
The advice to use command-line-arguments is not useful here, because that
will only contain unknown arguments. Since
Am 15.05.19 um 14:22 schrieb Aaron S. Hawley:
On Wed, May 15, 2019 at 7:14 AM Peter Wiehe wrote:
How do I access the commandline arguments? argv, *ARGV* and ext:*ARGV*
don't work. I get the error "Unbound variable" (when I type "scheme
--load myprog.scm").
The procedure for retrieving
On Wed, May 15, 2019 at 7:14 AM Peter Wiehe wrote:
>
> How do I access the commandline arguments? argv, *ARGV* and ext:*ARGV*
> don't work. I get the error "Unbound variable" (when I type "scheme
> --load myprog.scm").
The procedure for retrieving command-line arguments with --load is
called
Hello Scheme programmers,
I'm new to Scheme and MIT/GNU Scheme. I'm writing a simple Scheme
programming that does some file input. I try to compile the program and
what to hand over the filename as a commandline argument.
How do I access the commandline arguments? argv, *ARGV* and ext:*ARGV*