Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 24th, 2006, 12:13 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to De-zypher
Default error msg not sure how to code this

Hello all,

     Let me say that I am a new person to asp coding...but here is what im getting in an error and description of what im trying to do...

Microsoft VBScript compilation error '800a0408'

Invalid character

/includes/forum_jump_inc.asp, line 62

Response.Write("class=Timetxt" & _ strTxtJumpTo & _
-----------------------------------^

now what im trying to do is have the css class timetxt (this is nothing more than a color change for the font defined in a css file, and yes that file is "included") applied to the txt jump to. and then have the default tx color applied back to the rest of the txt. Ive tried several different ways..but can get it

thanks for any suggestions...

Reply With Quote
  #2 (permalink)  
Old May 24th, 2006, 04:05 PM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

THe underscore character is the line continuation character. It tells the interpreter that the line continues on the next line. Your code indicates that you are still on the same line, so you don't need the continuation character at that point in your code (this assumes that after the second underscore you actually are continuing on the next line):

Response.Write("class=Timetxt" & strTxtJumpTo & _

Woody Z http://www.learntoprogramnow.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error msg almotions ASP.NET 2.0 Basics 3 February 12th, 2008 08:34 AM
as,in and reference types error msg..... raykaash C# 2005 2 January 8th, 2008 07:14 AM
Error msg 3021 MathLearner VB Databases Basics 1 May 17th, 2007 07:41 AM
error msg aspsuraj BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 November 27th, 2006 08:30 PM
Breakpoint Error Msg Louisa VB.NET 2002/2003 Basics 1 March 29th, 2004 06:42 AM



All times are GMT -4. The time now is 10:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.