RosettaCodeData/Task/Read-a-configuration-file/Racket/read-a-configuration-file.rkt
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

11 lines
375 B
Racket

#lang racket
(require "options.rkt")
(read-options "options-file")
(define-options fullname favouritefruit needspeeling seedsremoved otherfamily)
(printf "fullname = ~s\n" fullname)
(printf "favouritefruit = ~s\n" favouritefruit)
(printf "needspeeling = ~s\n" needspeeling)
(printf "seedsremoved = ~s\n" seedsremoved)
(printf "otherfamily = ~s\n" otherfamily)