[plt-scheme] Finding out the script name

From: Grzegorz Chrupala (gregor.chrupala at star-group.net)
Date: Mon Feb 17 06:07:19 EST 2003


Is there a function/variable in PLT scheme that gives you the filename of
the script that is being executed?
I mean if I have an (executable) file "script.ss" and call it:
and I would want this script to, say, print its name.
In bash/perl this would be in the $0 variable, what about PLT scheme?


Posted on the users mailing list.