Announcement

Collapse
No announcement yet.

Add new comment strings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add new comment strings

    hey,

    Current have we the comment with the string apostrof ' but I think
    a second manner is like C++ //

    greets
    Stephane

    ------------------

  • #2
    Why? Twice as much work to write //. Main reason why I use Basic
    and not C - I'm lazy..


    ------------------

    Comment


    • #3
      Far more useful than a single-line comment character would be
      block characters like /* ... */.

      But, text editors like UltraEdit handle multiple lines of single-
      line comment characters very well and with a minimum of keystrokes,
      so it doesn't really matter to me either way. I especially like
      the way Visual Slickedit handles it... you highlight a block and
      pick "comment block" and it puts language-appropriate commenting
      about it, whether block or single-line.

      So why bother with more comment characters? Not to get all evangelical,
      but I see nearly no room for improvement in PB, except to possibly
      extend some of the features in that wonderful runtime. And frankly,
      I'd rather continue to code those myself than make the runtime much
      larger. PB ain't VB, and I hope it doesn't turn into it, language-
      wise.




      ------------------
      Troy King
      [email protected]
      Troy King
      katravax at yahoo dot com

      Comment


      • #4
        Look at the good side: you're not writing in (current) COBOL.

        There a comment line is defined ONLY as "a line with an asterisk in column 7."

        (The new COBOL standard supports "floating" comments; some COBOL vendors alerady support this).

        MCM


        Michael Mattias
        Tal Systems (retired)
        Port Washington WI USA
        [email protected]
        http://www.talsystems.com

        Comment

        Working...
        X