write-resource in Miscellaneous
(write-resource -> boolean
section entry value file)
section : string
entry : string
value : string or exact integer
file = : string or #f#f
Writes a resource value to the specified resource database. The
resource value is keyed on the combination of section and
entry, with the same special handling of entry for under
Windows as for
get-resource.
If file is #f, the platform-specific resource database
is read, as determined by find-graphical-system-path
with 'setup-file.
The return value is #t if the write succeeds, #f
otherwise. (A failure indicates that the resource file cannot be
written.)
If value is an integer outside a platform-specific range,
an exn:application:mismatch exception is raised.
See also
get-resource.