ColorRepl() - replaces all attributes of a screen area Replaces particular screen attributes ────────────────────────────────────────────────────────────────────────────── Syntax ColorRepl([<cNewAttr | nNewAttr>], [<cOldAttr | nOldAttr>]) --> cNull Arguments <cNewAttr | nNewAttr> is the new attribute. The default is "W/N" or 7. <cOldAttr | nOldAttr> is the old attribute to replace. The default is all existing attributes. Returns ColorRepl() always returns a null string, or "". Description This function is ideal for playing about with screens. This function allows you to change the colours of screen areas. Note ■ If you do not specify a set of <cNewAttr | nNewAttr> then the default CLEARA colour string is used. ■ This function does not alter the cursor position. Examples ■ Exchange the colour 7 (white on black) for 0 (black on black= invisible): ColorRepl(0, 7) ■ Replace all colours for 116 (red on white): ColorRepl(116) ■ Mixed formats are also possible: ColorRepl("0/7", 7) Files: Library is MRWINDOW.LIB.