Mnemonics
Mnemonic Categories  
  Mnemonics can be classified according to how they are used, and on the type of device they control. While there are exceptions where mnemonics can be redefined for use outside of their intended purpose, the following categories were created to help you identify the standard mnemonics by their functionality as well as their names.
 
   
Definition Each of the following mnemonics contain a definition or provide information to be used by a device for performing specific operations:
    '*C' Automatic Output on CLOSE '@@' Define Cursor Position Sequence
    '*H' Control Screen Colours 'AT' Character Attribute Output Sequence
    '*I' Input Conversion Table 'GD' Define Graphics Character Set
    '*O' Output Conversion Table 'MS' Mouse Definition
    '*R' OS Command String 'WX' Windows Definition Sequence
    '*X' Program to Call on CLOSE  
   
Behaviour The following mnemonics are used to modify the behaviour of ProvideX specific to the channel on which they are defined:
 
    '+D' & '-D' Disabled Object Dim 'EI' End Input Transparency
    '+E' & '-E' Multi-line Enter as Tab 'EL' Start Edit Key Load
    '+F' & '-F' Signal Change of Focus 'EM' End Output Markup Mode
    '+I' & '-I' Implied Decimals 'EO' End Output Transparency
    '+N' & '-N' Drop Box Write Error 'ET' End Type Ahead
    '+T' & '-T' Text Display On/Off 'EW' End WrapAround
    '+U' & '-U' Screen Refresh 'FL' Start Function Key Load
    '+V' & '-V' Row Highlighting 'IC' Insert a Space at Cursor
    '+W' & '-W' Windows-Style 'LC' Mixed-Case User Input
    'BEEP' Simple Sound Effect 'ME' Begin Edit Mode
    'BG' Begin Generating Error #29 'MN' End Edit Mode
    'BI' Begin Input Transparency 'OPTION' On-The-Fly Setting
    'BM' Begin Markup 'RM' Reset to Default Mode
    'BO' Begin Output Transparency 'SN' Native Screen Mode
    'BT' Begin Type-Ahead Mode 'SX' Set Extended Screen Mode
    'BW' Begin WrapAround 'WC' Save/Copy Current Window
    'EG' End Generating Error #29 'WRAP' WrapAround On/Off
   
GUI Display The following mnemonics are used only in a graphical environment for output to the screen: 
    '+D' & '-D' Disabled Object Dim 'FRAME' Define / Draw a Frame
    '+E' & '-E' Multi-line Enter as Tab 'GF' Default Window Font
    '+F' & '-F' Signal Change of Focus 'GOTO' Make Window Current
    '+I' & '-I' Implied Decimals 'GREEN' Colour Text
    '+N' & '-N' Drop Box Write Error 'GS' Start Graphics Transmission
    '+P' & '-P' Mouse Movements 'HIDE' Hide Window Display
    '+T' & '-T' Text Display On/Off 'MAXSIZE'Window Resize Limit
    '+U' & '-U' Screen Refresh 'MESSAGE' Message Line Text
    '+V' & '-V' Row Highlighting 'MINSIZE' Window Resize Limit
    '+W' & '-W' Windows-Style 'MODE' Set Attributes/Colour
    '+X' & '-X' Windows ’X’Close Button 'MOVE' Move Current Window
    '+Z' & '-Z' Text-to-Windows Look 'POP' Restore Previous Window
    '2D' Use 2D Controls 'PUSH' Save/Copy Window
    '3D' Use 3D Controls 'SCROLL' Define Scroll Region
    '4D' Use 4D Controls 'SE' & 'SD' Scroll Enable/Disable
    'BOX' Define / Draw a Box 'SHOW' Show Window Display
    'BR' Begin Reverse Video 'SIZE' Visual Size of Window
    'BX' Define / Draw a Box 'SR' Scroll Reset
    'CAPTION' Replace Caption 'SWAP' Swap Windows on Stack
    'Cn' Control Cursor Display 'TEXTWDW' Text Window
    'CURSOR' Cursor/Mouse Pointer 'WA' Define / Draw Window
    'DIALOGUE' Define Dialogue 'WC' Save/Copy Current Window
    'DO' Delete Objects in Scroll Region 'WG' Make Window Current
    'DROP' Drop Identified Window 'WINDOW' Define / Draw Window
    'ER' End Reverse Video 'WR' Remove Current Window
    'WS' Swap Windows On Stack  
   
GUI Printer The following mnemonics are used only when sent to a graphical printer spooling system (i.e., *WINPRT*): 
    '+S' & '-S' Substitute Solid Lines On/Off 'L8' Set to 8 LPI
    'AB' Abort (For Windows Spooler) 'LPI' Logical Lines / Inch
    'CPI' Logical Characters per Inch 'OFFSET' Offset for *WINPRT*
    'L6' Set to 6 LPI  
   
GUI Display/Printer The following mnemonics are used in both graphical environments — they can be sent to a graphical print spooling system (i.e., *WINPRT*), or as output to a screen:
    'ARC' Define/Draw Arc 'JD' Justify Decimal-Aligned
    'Bn' Background Colour 'JL' Left-Justify Text
    'BACKGR' or 'BK' Next Colour Is Background 'JN' Right-Justify Numeric
    'BLACK' & '_BLACK' Colour Text 'JR' Right-Justify Text
    'BLUE' & '_BLUE' Colour Text 'JS' Left-Justify String
    'BU' Begin Underscoring 'LINE' Define / Draw a Line
    'CIRCLE' Define / Draw a Circle 'LF' Line Feed (Advance Line)
    'CP' Condense Print for Screen 'MAGENTA' & '_MAGENTA' Colour Text
    'COLOUR' & '_COLOUR' User-Defined Colours 'PEN' Define Pen Style
    'CYAN' & '_CYAN' Colour Text 'PICTURE' Define / Draw Picture
    'DEFAULT' or 'DF' Define Default 'PIE' Define / Draw Pie Slice
    'EU' End Underscoring 'POLYGON' Draw Polygon
    'FILL' Define Fill Style 'RECTANGLE' Draw a Rectangle
    'Fn' Foreground Colour 'RED' & '_RED' Colour Text
    'FONT' Define / List Fonts 'SP' Standard Print
    'GREEN' & '_GREEN' Colour Text 'TEXT' Draw Text
    'IMAGE' Define a Graphics Group 'WHITE' & '_WHITE' Color Text
    'JC' Justify Centre 'YELLOW' & '_YELLOW' Colour Text


*Note* In Windows, the 'FILL', 'FONT', 'PEN', and 'PICTURE' mnemonics use Graphical Device Interface (GDI) resources/handles that are only released when the window they are in is dropped or cleared, or their 'IMAGE' group is deleted.


   
Character Display The following mnemonics are used only when sent to text-based CUI devices:
    'Bn' Background Colour 'MOVE' Move Current Window
    'BACKGR' or 'BK' Next Colour Is Background 'POP' Restore Previous Window
    'BB' Begin Blinking (DOS) 'PUSH' Save/Copy Window
    'BJ' Join Box Intersections 'RED' & '_RED' Colour Text
    'BLACK' & '_BLACK' Colour Text 'RS' Restore Screen
    'BLUE' & '_BLUE' Colour Text 'SB' Set Mode to Background
    'BOX' Define / Draw a Box 'SCROLL' Define Scroll Region
    'BX' Define / Draw a Box 'SE' & 'SD' Scroll Enable/Disable
    'CAPTION' Replace Caption 'SF' Set Mode to Foreground
    'Cn' Control Cursor Display 'SR' Scroll Reset
    'COLOUR' & '_COLOUR' User-Defined Colours 'SWAP' Swap Windows on Stack
    'CURSOR' Cursor/Mouse Pointer 'TEXTWDW' Text Window
    'CYAN' & '_CYAN' Colour Text 'WA' Define / Draw Window
    'DEFAULT' or 'DF' Define Default 'WC' Save/Copy Current Window
    'DROP' Drop Identified Window 'WD' Drop Identified Window
    'EB' End Blinking Mode (DOS) 'WG' Make Window Current
    'EJ' End Box Joining 'WHITE' & '_WHITE' Color Text
    'Fn' Foreground Colour 'WINDOW' Define / Draw Window
    'GE' End Graphics Data 'WM' Relocate Current Window
    'GOTO' Make Window Current 'WR' Remove Current Window
    'GS' Start Graphics Transmission 'WS' Swap Windows On Stack
    'GREEN' & '_GREEN' Colour Text 'XP' Line Mode (DOS)
    'MAGENTA' & '_MAGENTA' Colour Text 'YELLOW' & '_YELLOW' Colour Text
    'MODE' Set Attributes/Colour  
   
Character Printer The following mnemonics are used only when sent to direct-to-output devices: 
    'EF' End Expanded Print 'PS' Enable Attached Printer Port
    'EL' Start Edit Key Load 'Sn' Slew to Channel #
    'EP' Start Expanded Print 'SL' Start VFU Load
    'L6' Set to 6 LPI 'VT' Slew to S6, Vertical Tab
    'L8' Set to 8 LPI 'WP' Wide Printer (DOS)
    'PE' Disable Attached Printer Port  
   
Character Display/Printer The following mnemonics are usable on both direct-to-output and text-based CUI devices:  
    'BR' Begin Reverse Video 'ES' Send Escape
    'BU' Begin Underscoring 'FF' FormFeed
    'CP' Condense Print for Screen 'LF' Line Feed (Advance Line)
    'ER' End Reverse Video 'SP' Standard Print
    'EU' End Underscoring  
   
Motion The following mnemonics are used to direct cursor movement in both text-based and GUI display environments: 
    'BS' Cursor Back One Space 'DN' Move Cursor Down a Line
    'CH' Position Cursor at Home 'LT' Move Left One Column
    'CR' Carriage Return 'RT' Move Right One Column
    'CS' Clear Screen 'UP' Move Up One Line
   
Editing The following mnemonics are used to control various editing operations in both text-based and GUI display environments:
    'BE' Begin Echoing 'LI' Insert Line
    'BI' Begin Input Transparency 'ME' Begin Edit Mode
    'BT' Begin Type-Ahead Mode 'MN' End Edit Mode
    'BW' Begin WrapAround NI' Next Input Numeric
    'CE' Clear from Cursor to End of Screen 'RB' Ring Bell
    'CF' Clear Foreground Mode 'RC' Return Cursor Address
    'CI' Clear Input Type-Ahead Buffer 'RL' Return Line Contents
    'CL' Clear from Cursor to End of Line 'RP' Terminal Read to End
    'CS' Clear Screen 'RS' Restore Screen
    'DC' Delete Character at Cursor 'SCROLL' Define/Control Scroll Region
    'EE' End Echo Mode 'SE' & 'SD' Scroll Enable/Disable
    'EI' End Input Transparency 'TR' Terminal Read from Start
    'EL' Start Edit Key Load 'TW' Transmit Windows as String
    'ET' End Type Ahead 'UC' Convert Input UpperCase
    'EW' End WrapAround 'WRAP' WrapAround On/Off
    'FL' Start Function Key Load