[plt-scheme] Finding out the script name
> De: Noel Welsh [mailto:noelwelsh at yahoo.com]
> wrote:
> > Is there a function/variable in PLT scheme that
> > gives you the filename of the script that is being
> > executed?
>
> Does the argv vector not contain what you want? I'm
> too lazy to try this myself, but I expect it to work.
>
Nope. The vector contains args that follow the script name but not the
script name itself.
And the program variable contains the name of the executable thats executing
the script, but not the script name. Seems kind of perverse ...
G.