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


This #option command allows you to specify an alternative character (to ';') for starting comments.

If NULL is specified for ASingleChar then comment removal is disabled. An empty value will set it back to the default, otherwise the character becomes the new comment character. The same character doubled up becomes the inline comment indicator.


;--- This is a comment ---
<B>         ;;Make the following text appear bold
#option linecomment='@'
</B>        @@Remove the bold attribute

@--- This is a comment ---

;--- This is NO LONGER a comment ---

@--- Restore default value (without hard coding it) ---
#option linecomment=''             @@Better way is to use push/pop

;--- This is a comment (no comments after the following line executed) ---
#option linecomment='NULL'         ;;Better way is to use push/pop

;--- This IS NOT a comment as comments disabled above --------------------

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

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

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