Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 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
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 2nd, 2005, 01:13 PM
Authorized User
Join Date: Mar 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH. 4 Creating Local Variables

In the exercise to demo the creating local variables. I was wondering why the Option Explicit command was not used. Since it appears that this is a way to ensure that your variables are defined properly.

I did the exercise with the Option Explicit command and the only difference was that I had to declare the variable in each Sub procedure. I believe this is a better way of programming since it indicates that the variable is local.

  #2 (permalink)  
Old March 3rd, 2005, 03:57 PM
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

I believe so, just some people decide not to use it, maybe in a late-binding scenario, or as a personal preference.

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
Concatenating local variables into an execute... BorisG SQL Language 0 September 4th, 2007 09:33 AM
Ch. 2 - Passing Variables with Sessions tks001 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 February 20th, 2006 07:26 PM
Creating a local cube with relational data source loydon Oracle 1 August 31st, 2004 12:16 PM
Creating a local cube with relational data source loydon Access 0 August 31st, 2004 07:27 AM

All times are GMT -4. The time now is 03:04 AM.

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