Results 1 to 4 of 4

Thread: Option Explicit - why?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264

    Cool

    Is there any advantage in using option explicit in ASP versus not using it (apart from all the errors that you get when you don't declare variables) ? :-)
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    I read an AWESOME ASP optimization article a month ago (sorry, no link, but I think it was at http://www.asptoday.com ) ...your code will run something like 10% faster with option explicit turned on, plus its good programming practice


    Tom

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    found it, a must-read for all!

    http://www.asptoday.com/articles/20000113.htm

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264

    Cool

    THANK YOU SOOOO MUCH !!!!

    This is really a must read for any ASP programmer !!


    Alon

    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width