LSE$HELP.HLB  —  ENTER_COMMENT
  Syntax:  ENTER COMMENT comment_type

  Converts pseudocode into comments using block or line format.

  If the cursor is on a pseudocode placeholder, the command moves the
  placeholder's text into a comment and replaces the placeholder with
  the LSE$GENERIC placeholder.  The cursor is then positioned on the
  generic placeholder.

  If the cursor is in a comment, the LSE editor finds a nearby
  pseudocode placeholder and converts its content into a comment.  The
  LSE$GENERIC placeholder is inserted in its place and the cursor
  remains on the generic placeholder.

  If the cursor is not on a placeholder or a comment, the command
  inserts a new comment and puts the LSE$GENERIC placeholder inside the
  comment.  The cursor is then positioned on the generic placeholder.

  If there is a sequence of pseudocode placeholders and a selected
  range is active, all text in the selected range is converted into a
  comment and the placeholders are replaced with LSE$GENERIC
  placeholders accordingly.  The cursor is positioned on the first
  placeholder after the comment.

  The following example converts pseudocode to comments in line format:

                «This is something interesting.»

  Entering the ENTER COMMENT LINE command causes LSE to convert the
  pseudocode placeholder to a comment as follows:

                {tbs} ! This is something interesting.

  The following example converts pseudocode to comments in block
  format:

                «We will move the third item from the left to be the»
                «next to the last item from the right in this case.»

  If there is a selected range active for both lines, entering the
  ENTER COMMENT BLOCK command causes LSE to convert the pseudocode
  placeholder to comments, as follows:

                --We will move the third item from the left to be the
                --next to the last item from the right in this case.
                {tbs}

  RELATED COMMANDS:

     ENTER commands              ERASE commands
Close Help