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


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:


#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

My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm