chickadee » getopt-utils » opt-set!

(opt-set! VARIABLE KEY PARAMS [DEFAULT])syntax

Sets the VARIABLE to the value of the processed option KEY, in the PARAMS, with DEFAULT supplying a value when no such option KEY. The KEY is evaluated so a literal must be quoted.

VARIABLE
symbol ; name of variable to set!
DEFAULT
(or procedure *) ; default is (DEFAULT), when procedure, and DEFAULT otherwise