Results 1 to 4 of 4

Thread: commenting blocks of code

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Location
    St. Louis
    Posts
    2

    Smile

    Hello,
    How can I comment blocks of code?
    instead of doing something like this...
    'bla bla
    'bla bla
    'bla bla

    thanks
    bryan

  2. #2
    Guest
    Unfortunately, VB does not have the feature to code multiple lines.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Location
    St. Louis
    Posts
    2
    thank you,
    i thought i was going crazy because i couldn't find what would seem to be an easy thing to do in any of my books or on the internet...it seems a bit ridiculous for vb not to implement block commenting...
    bryan %)

  4. #4
    Lively Member
    Join Date
    May 1999
    Location
    KC
    Posts
    72

    Talking

    VB won't let you comment blocks like in C with /* Comment */, but you can add the 'comment to each line quickly:
    Open the Edit toolbar by selecting View > Toolbars > Edit. The toolbar has buttons for adding and removing comment characters from a selected block of code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width