if a webpage is only used to display. i don't have 2 declare all the variables. i don;t have to 'dim' all of them rite? only those that i use for calculation and used to store temporarily. plz help... thanks
hi not clear what do u want....?
Was this answer helpful ?
Yes No
My recommendation is you should always add Option Explicit to your asp page. Doing so will force you to Dim all vbscript variables.
Was this answer helpful ?
Yes No
I'll agree with Doug. It is poor practice not to use option explicit, and the number of times a typo ended up fouling an entire project...

Was this answer helpful ?
Yes No
Yep. Always use option explicit and dim your vars.
It is best practice and makes scripts more efficient
Was this answer helpful ?
Yes No