Next: Environment Variables, Previous: Options, Up: Operational Features [Contents][Index]
% scm foo.scmLoads and executes the contents of foo.scm and then enters interactive session.
% scm -f foo.scm arg1 arg2 arg3Parameters arg1, arg2, and arg3 are stored in the
global list *argv*; Loads and executes the contents of
foo.scm and exits.
% scm -s foo.scm arg1 arg2Sets *argv* to ("foo.scm" "arg1" "arg2") and enters interactive
session.
% scm -e `(write (list-ref *argv* *optind*))' barPrints ‘"bar"’.
% scm -rpretty-print -r format -iLoads pretty-print and format and enters interactive
session.
% scm -r5Loads dynamic-wind, values, and syntax-rules macros and
enters interactive (with macros) session.
% scm -r5 -r4Like above but rev4-optional-procedures are also loaded.
Next: Environment Variables, Previous: Options, Up: Operational Features [Contents][Index]