Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2006, 12:13 PM
Registered User
 
Join Date: May 2006
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...

 
Old May 24th, 2006, 04:05 PM
Friend of Wrox
 
Join Date: May 2006
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.