Version 2 of option readfile

Updated 2016-10-02 07:14:27 by dkf
option readfile filename ?priority?

Loads the options from file filename in with priority priority (or interactive if priority is omitted, just as with option add). The file should be in .Xdefaults format (though the ? pattern separator is not supported).

Example

option readfile [file join [file dirname [info script]] "myapp.defs"]
*Label.font: Helvetica 24
*Button.background: green
*MyDialog.abc.def.foreground: red