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

  • SEARCH
  • Home
  • 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 7589121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:05:11+00:00 2026-05-30T20:05:11+00:00

This might be a really easy one but I couldn’t seem to find an

  • 0

This might be a really easy one but I couldn’t seem to find an answer anywhere

I’m trying to comment my code as follows

Session("test") = "JAMIE" _ 
'TEST INFO
& "TEST" _
'ADDRESS INFO
& "ADDRESS = TEST" 

With the code above i’m getting the error

Syntax error

But when I remove the comments like so

Session("test") = "JAMIE" _ 
& "TEST" _
& "ADDRESS = TEST" 

It works fine so my guess is that I cannot comment my code between the _ character.

Is there some way I can get around this as I’d like to comment my code ideally

  • 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-30T20:05:12+00:00Added an answer on May 30, 2026 at 8:05 pm

    The _ character is the line continuation. It means that the next line is interpreted as if it was on the same line.

    So, putting a comment in the middle of the line is a syntax error.


    Since you want a solution:

    • Either put a comment before the continued line or after it

    As Tim Schmelter points out in his answer, you can construct the value that will go into the Session object before you put it into the Session object – you can do that is separate statements and comment those to your hearts content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might be an easy one, but I'm not really experienced with sql. I
So this might be really simple, but I haven't been able to find any
This question might be really easy but for the life of me i cant
I may be missing something here because I thought this might be really easy
I feel like this might be really simple but I'm just not getting it
This might be a really trivial one. Is File storage OS dependant ? Why
I feel like the answer to this question is really simple, but I really
I'm sure there's a really easy way of doing this. I'm trying to take
There is probably an easy to answer to this, but I can't even figure
ok, I might be missing something really easy, But I want to use the

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.