Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Entab Switch
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Entab (Numeric)
 
     The Entab switch controls how PWB converts white space on modified
     lines. PWB converts white space only on the lines that you modify.
 
     When the Realtabs switch is set to Yes, tab characters are not
     converted and PWB uses only sequences of space characters. When
     Realtabs is set to No, tab characters are included in the white
     space to be converted.
     See: Realtabs
 
     The Entab switch can have the following values:
 
     Value     Meaning
 
     0         Convert all white space to space (ASCII 32) characters.
               With this setting and Realtabs set to No, PWB removes tab
               characters on all lines that you modify.
 
     1         Convert white space outside quoted strings to tabs.
 
               A quoted string is any span of characters enclosed by a
               pair of single quotation marks or a pair of double
               quotation marks. PWB does not recognize escape sequences
               because they are language-specific.
 
               For well-behaved conversions with this setting, make
               sure that you use a numeric escape sequence to encode
               quotation marks in strings or character literals.
 
     2         Convert white space to tabs.
 
     With settings 1 and 2, if the white space being considered for
     conversion to a tab character occupies an entire tab field or ends
     at the boundary of a tab field, it is converted to a tab (ASCII 9)
     character. The width of a tab field is specified by the Filetab
     switch.
     See: Filetab
 
     In all conversions, PWB maintains the alignment of text as it is
     displayed on screen.
     See: How Tabs are Displayed
 
     Default
 
     Entab:1
 
     See
 
     Filetab, Realtabs
 
     See
 
     Tabalign
     ASCII Table
     Entering Tab Characters
     How Tabs are Displayed
                                    -♦-