Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 April 15th, 2006, 12:44 AM
Authorized User
 
Join Date: Sep 2005
Location: , , India.
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default variable initialization

Can I do this in asp ?
<% dim strName="xyz" %>
Is is permitted to initiazed variable during declaration in
asp using VB Script ?

I am getting an error message.

One more proble
<dim a,b
a=1+2
b="xx"
response.write(a+b)
%>

I am getting error on the highlighted line

Thanks in advance
vin


 
Old April 18th, 2006, 06:46 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Vin_0x1!!

plz don't cross post on multiple forums

http://p2p.wrox.com/topic.asp?TOPIC_ID=42958



Cheers :)

vinod




Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding String Initialization chris@p2p Java Basics 3 April 25th, 2009 01:58 PM
Declaration of variable without initialization v_kewlani Other Programming Languages 0 May 24th, 2007 01:51 AM
initialization vin_0x1 Classic ASP Professional 3 April 16th, 2006 06:40 AM
Initialization error"adOpenforwardOnly" ali Classic ASP Basics 7 October 27th, 2003 01:30 PM
variable initialization with try..finally guppyheart C# 7 July 17th, 2003 06:47 AM





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