Edit macro @C Edit macro @C Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. @C users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST, and in IS03.SPF2.MACROS for use on SPF/PC -------------------------------------------------------------------------------- @C Capitalize each word of included word-list -------------------------------------------------------------------------------- related @C (word-list), @CAPS, @SMALLS, LCFIX, SPELL, and perhaps @BIG S (block letters) -------------------------------------------------------------------------------- A list of words to be capitalized are included. This macro is used as a means of reducing the need to enter such commands as follows: c all word nx 'string1' 'STRING1' c all word nx 'string2' 'STRING2' c all word nx 'string3' 'STRING3' By instead entering: @C nx string1 string2 string3 -------------------------------------------------------------------------------- ISREDIT @C lptr-range NX word|chars|prefix> word-list ISREDIT @C word-list -------------------------------------------------------------------------------- lptr-range A pair of line pointers can be used to restrict the lines under consideration. The line pointers must be a labels. Specifying one line pointer is invalid. If used must precede word en- tries or results will be unpredictable. NX Affects only lines that are not excluded from the display la- bels. If used must precede word entries or results will be un- predictable. WORD|CHAR|CHARS|PREFIX WORD is the default for this macro. If one of these options is specified it must precede word entries or re- sults will be unpredictable. word-list List of words (up to 19) to be capitalized. Examples: @C word1 word2 word3 word4 ... word19 @C nx .a .b word1 word2 word3 @C prefix .aa .bb caps( ddname( fcb( Internal Aspects: 1. NX, and labels will not be treated as words but will be included on on each change command issued. 2. PREFIX or CHAR or CHARS may be used to override default of WORD. 3. ALL will be included in the issued command, it is not an option. 4. Parameters which can be entered in any order are reassigned to meaningful symbols. Numeric pairs are reassigned to new symbols. 5. Labels are not verified but are simply passed as arguments.