chickadee » srfi-193 » script-file

script-file #!optional string?parameter

If running a source file as a script via csi -script file.scm or csi -s file.scm, returns an absolute pathname of that file as a string. Otherwise returns #f.

In Chicken, this is actually a parameter object and may be set by the user.