PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: HashPrefix[Next]: LeaveBlankLines
\ -> Commands -> #option -> KeepIndent

KeepIndent=OnOrOff

This #option command lets you determine whether or not leading whitespace is removed from lines that are read from a file.

If you wish to keep whitespace you can also use the ExtraIndent option to indent each line if you wish.

An alternative to this command is to use "<?Space>" to create whitespace as required.

If the "OnOrOff" parameter is empty then it defaults to the current default value, otherwise one of the following is expected:

Example

#Option  keepindent=ON
   Want Indent on this line
   As well as this line
#Option  keepindent=OFF

Example - Alternative way

The way demonstrated here can make it easier to format your source code so its easy to read. The following example will generate the same 2 lines as the previous example:

   <?Space>  Want Indent on this line
       <?Space>  As well as this line


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: HashPrefix[Next]: LeaveBlankLines


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am