◄Macro Writing► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── The following examples demonstrate the fundametals of writing macros for PWB: ◄Macro Conditional Example► ◄Macro Looping Examples► ◄Macro Example: Expanding Text Abbreviations► ◄Macro Prompt Directive Example► ◄Regular Expressions in Macro Strings► ◄Text Macros► The following examples demonstrate specific PWB functions and also include valuable macro programming techniques: ◄Begline Macro Example► ◄Insert Macro Example► ◄Lasttext Macro Example► ◄Message Macro Example► ◄Prompt Macro Example► ◄Replace Macro Example► ◄Right Macro Example► For additional macro examples, see the definitions of predefined PWB macros and the macros in the SAMPLE.INI file that the SETUP program copied to your INIT directory. See: ◄Predefined PWB Macros► ◄Open SAMPLE.INI File► -♦-