write-resource in Miscellaneous
(write-resource-> booleansectionentryvaluefile)
section: string
entry: string
value: string or exact integer
file=#f: path or#fWrites a resource value to the specified resource database. The resource value is keyed on the combination of
sectionandentry, with the same special handling ofentryfor under Windows as forget-resource.If
fileis#f, the platform-specific resource database is read, as determined byfind-graphical-system-pathwith'setup-file.The return value is
#tif the write succeeds,#fotherwise. (A failure indicates that the resource file cannot be written.)If
valueis an integer outside a platform-specific range, anexn:fail:contractexception is raised.See also
get-resource.