Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6607223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:28:50+00:00 2026-05-25T19:28:50+00:00

I am currently trying to figure out how to add comment within a line

  • 0

I am currently trying to figure out how to add comment within a line continuation statement on ASP classic. Our code management requirement requires us to write a Start block and End block to mark the place where we did a change. For example.

Old code

arrayName = Array("FIRST_NAME", _
                  ,"LAST_NAME" _
                  ,"ADDRESS"
                  )

New code

arrayName = Array("FIRST_NAME" _
                  ,"LAST_NAME" _
                  ,"ADDRESS" _
                  ' 2011/09/27 bob Added new column for XYZ support Start
                  ,"NEW_COLUMN" _
                  ' 2011/09/27 bob Added new column for XYZ support End
                  )

The new code is causing an error since the underbar cannot be placed within the comment. Are there anyway to place code management comment between such lines? Just want to see if I may have missed other options. I think there is none but what do you guys/gals think?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:28:50+00:00Added an answer on May 25, 2026 at 7:28 pm

    If the comment line position is very important for you, you may need to write your own array push procedure.
    So, you have not missed anything. This is the cause of VBScript syntax.
    With underscore, actually runs following:

    Array(“FIRST_NAME”, “LAST_NAME”, “ADDRESS”, ‘comment, “NEW_COLUMN”, ‘comment)

    And this will cause an error too.

    I wrote this to giving idea about push into arrays.

    Sub [+](arrT, ByVal val)
        Dim iIdx : iIdx = 0
        If IsArray(arrT) Then
            iIdx = UBound(arrT) + 1
            ReDim Preserve arrT(iIdx)
        Else
            ReDim arrT(iIdx)
        End If      
        arrT(iIdx) = val
    End Sub
    
    'Start push
    
    [+]arrayName, "FIRST_NAME"
    [+]arrayName, "LAST_NAME"
    [+]arrayName, "ADDRESS" 
    '2011/09/27 bob Added new column for XYZ support Start
    [+]arrayName, "NEW_COLUMN"
    '2011/09/27 bob Added new column for XYZ support End
    
    'Test
    Response.Write Join(arrayName, "<br />")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I am trying to figure out how I can add dynamic query string
I am currently trying to figure out KendoUI. I am using version 2012.1.322. I
I am currently trying to figure out how you can bind multiple fields in
I am trying to figure out whether or not the current date falls within
I'm currently trying to get into QT4 and figure out a workflow for myself.
Given a straightforward jQuery Autocomplete, I'm trying to figure out how to dynamically add
I am trying to figure out how to add another string to my month
I am trying to figure out Event Loops in Perl? Currently my program does
I am new to Perl and still trying to figure out how to code
I'm stuck trying to figure this one out.. We currently have a date criteria

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.