Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Comments

Discussion in 'Information Technology' started by James, Jul 28, 2006.

Tags:
  1. James

    James
    Expand Collapse
    Guest

    How do you comment out a block of text? Like in java it's /* and */....
    I've forgotten what it is in VB.
     
  2. Loading...


  3. xRoachx

    xRoachx
    Expand Collapse
    Guest

    'Comment after the apostrophe

    "James" wrote:

    > How do you comment out a block of text? Like in java it's /* and */....
    > I've forgotten what it is in VB.
    >
    >
     
  4. fredg

    fredg
    Expand Collapse
    Guest

    On 12 Jun 2006 10:52:07 -0700, James wrote:

    > How do you comment out a block of text? Like in java it's /* and */....
    > I've forgotten what it is in VB.


    Place an apostrophe in front of the text to be commented out:

    ' This is commented out
    or
    intX = 1 ' Set up a counter variable

    If the comment runs over one line, each line must be individually
    commented out.
    There is a 'Comment Block' and a 'Comment Unblock' tool button you can
    use to comment/uncomment out multiple lines all at once.
    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail
     
  5. kabaka

    kabaka
    Expand Collapse
    Guest

    Yes... but not in Access 97. You'd have to put the ' in manually for each
    new line.



    "fredg" wrote:

    > On 12 Jun 2006 10:52:07 -0700, James wrote:
    >
    > > How do you comment out a block of text? Like in java it's /* and */....
    > > I've forgotten what it is in VB.

    >
    > Place an apostrophe in front of the text to be commented out:
    >
    > ' This is commented out
    > or
    > intX = 1 ' Set up a counter variable
    >
    > If the comment runs over one line, each line must be individually
    > commented out.
    > There is a 'Comment Block' and a 'Comment Unblock' tool button you can
    > use to comment/uncomment out multiple lines all at once.
    > --
    > Fred
    > Please respond only to this newsgroup.
    > I do not reply to personal e-mail
    >
     

Share This Page