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 June 24th, 2005, 08:38 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default Declaring variables in ASP - advantages?

Code:
dim pnrno,invoice
Are there any advantages in Declaring variables in ASP?

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
 
Old June 25th, 2005, 11:17 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Yes. It makes de-bugging easier. If you dont 'explicitly' declaire variables your de-bugging will be more difficult and time consuming at some point.

IMO Not explicitly declairing is a very bad habbit and leaves your code wide-open to typos.

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages of SSIS over DTS carumuga SQL Server 2005 1 September 11th, 2008 07:51 AM
Declaring static variables in ASP lakshmi_annayappa ASP.NET 1.0 and 1.1 Basics 1 May 24th, 2007 06:49 AM
Datasets Advantages and Disadvantages aabdolrahmani ADO.NET 3 December 7th, 2006 09:56 AM
Problem coming while declaring global variables deeptisingh20 ASP.NET 1.0 and 1.1 Basics 2 November 18th, 2005 06:38 PM
declaring variables that are not used crmpicco VB How-To 2 May 19th, 2005 04:22 PM





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