Syntax


COMMENTS

[ Comment-ID

  Comment-Col

  Comment-Incr

  Comment-End

[ ? ]


Operands


Comment-ID

This is the ID number from the COMMENTn statement in the AUTO file which is to be used to define the special characters used to identify a Comment. (e.g. /*  //  ' etc.) This is needed as you may have several COMMENTn statements present, this value is effectively the default comment identifier.


Comment-Col

This should be the default starting column where you wish comments to begin.


Comment-Incr

When attempting to position the Comment-Col (above), if the actual coding text is too long to allow use of that column, the comment column will be incremented by this amount until past the coding.


Comment-End

For comment styles that have an 'end' string, like /* comments */ this value specifies the desired column for the ending string.  Note: If the actual coding is too long, the ending comment string will of course be moved right past the comment text.


 

Description


This command allows you to provide the criteria which the (Comments) KB primitive will use to align the comments on a coding line.