PDA

Click to See Complete Forum and Search --> : Option Explicit - why?


asabi
Jun 13th, 2000, 07:16 AM
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) ? :-)

Clunietp
Jun 13th, 2000, 02:10 PM
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

Clunietp
Jun 13th, 2000, 02:15 PM
found it, a must-read for all!

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

asabi
Jun 13th, 2000, 02:25 PM
THANK YOU SOOOO MUCH !!!!

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


Alon