Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 asp ver. 3.0 book
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

guessme
Banned User

393 Posts

Posted - 26 September 2003 :  14:59:21  Show Profile  Visit guessme's Homepage
I just got this book and notice that it seems to be telling me different than what i see for the forums.

This is what is says should be in all asp pages. Example:

<%@ Language=VBSCRIPT %>
<% Option Explicit %>

<HTML>
<BODY>

<BODY>
<HTML>

Doug G
Support Moderator

USA
6493 Posts

Posted - 26 September 2003 :  15:02:39  Show Profile
Search here for Option Explicit

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

guessme
Banned User

393 Posts

Posted - 26 September 2003 :  15:58:41  Show Profile  Visit guessme's Homepage
thanks http://forum.snitz.com/forum/topic.asp?TOPIC_ID=43866&SearchTerms=Option,Explicit

Go to Top of Page

guessme
Banned User

393 Posts

Posted - 26 September 2003 :  16:00:26  Show Profile  Visit guessme's Homepage
What about the <%@ Language=VBScript %>

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 26 September 2003 :  20:31:52  Show Profile
What about the <%@ Language=VBScript %>

It's ok to specify if there is a possibility that the server settings are for some other language to be the default scripting language. 99% of IIS servers are set to VBScript default so the statement isn't necessary, but it doesn't hurt. The default scripting language specifies what scripting language is used to interpret code between <% .. %> tags

I think the argument should be quoted <%@ Language="VBScript" %>.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07