Anyone ever seen this before?
A page that generates a calendar view, works just fine without 'option
explicit' .
Add this in, but have missed some dim statements out in error, so page
should error .
Instead of error, the un-dim-ed variables are ignored and their portions of
the code simply are not used - behavour as though entire loops etc are
commented out.
As soon as I add their dim statements, the code executes fine.
Is there a setting that could cause this, that I have un-knowingly switched
on?
(w2k/IIS5/ASP/VBscript) 3 1645
s_m_b wrote: Anyone ever seen this before? A page that generates a calendar view, works just fine without 'option explicit' . Add this in, but have missed some dim statements out in error, so page should error . Instead of error, the un-dim-ed variables are ignored and their portions of the code simply are not used - behavour as though entire loops etc are commented out. As soon as I add their dim statements, the code executes fine.
Is there a setting that could cause this, that I have un-knowingly switched on? (w2k/IIS5/ASP/VBscript)
How can we tell?
Maybe you have on error resume next in your code somewhere ...
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in news:
#q**************@TK2MSFTNGP14.phx.gbl: s_m_b wrote: Anyone ever seen this before? A page that generates a calendar view, works just fine without 'option explicit' . Add this in, but have missed some dim statements out in error, so page should error . Instead of error, the un-dim-ed variables are ignored and their portions of the code simply are not used - behavour as though entire loops etc are commented out. As soon as I add their dim statements, the code executes fine.
Is there a setting that could cause this, that I have un-knowingly switched on? (w2k/IIS5/ASP/VBscript)
How can we tell? Maybe you have on error resume next in your code somewhere ...
well, that's why I'm asking!
NO, no 'on error'. When I put one in, I always catch it so as to know
where the error is.
If I put in a deliberate code error, its picked up.
The behaviour is as though 'on error' is running on every possible line
of code, with no instruction other than to resume.
So try some bare bone code to try to reproduce the problem (such as 1 loop
with a defined variable and 1 loop with an undefined variable).
It could be interesting to see if another compilation error than an
undefined variable shows the same behavior...
- If yes you have really something very strange going on (looks like
compilattion errors are "turned off" don't remember but I believe ASP calls
a page to display these, if this page is not found it could perhaps fails
silently ???)
- If not you likely have some other condition in your own production code
that you don't find for now
--
Patrice
"s_m_b" <sm********@hotmail.com> a écrit dans le message de
news:Xn**********************************@207.46.2 48.16... "Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in news: #q**************@TK2MSFTNGP14.phx.gbl:
s_m_b wrote: Anyone ever seen this before? A page that generates a calendar view, works just fine without 'option explicit' . Add this in, but have missed some dim statements out in error, so page should error . Instead of error, the un-dim-ed variables are ignored and their portions of the code simply are not used - behavour as though entire loops etc are commented out. As soon as I add their dim statements, the code executes fine.
Is there a setting that could cause this, that I have un-knowingly switched on? (w2k/IIS5/ASP/VBscript)
How can we tell? Maybe you have on error resume next in your code somewhere ...
well, that's why I'm asking!
NO, no 'on error'. When I put one in, I always catch it so as to know where the error is. If I put in a deliberate code error, its picked up. The behaviour is as though 'on error' is running on every possible line of code, with no instruction other than to resume. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: redneck_kiwi |
last post by:
Hi all:
I have a really weird problem. I am developing a customer catalog
system for my company and as such have delved into sessions for
authentication and access levels. So far, I have managed...
|
by: Michael G. Schneider |
last post by:
With Windows 2003 Server...
Imagine the following scenario: there is a simple ASP page, for example just
a single Response.Write statement. There is a virtual directory pointing to
the...
|
by: Julia |
last post by:
Hi,
I have the following scenario
Page A.asp call page B.asp
Page B.asp need to load page C.asp make some changes and return
the result to IE
when A.asp is first running IIS create a...
|
by: James_101 |
last post by:
My training piece is in Authorware. The user logs in with last name and a
four-digit number. Authorware sends this user identifier to an asp page
called db_read.asp. This file sends a SQL SELECT...
|
by: Sönke Tesch |
last post by:
Hi everybody,
I have a problem with the following piece of code:
141: /* A data block to manage a single log target: */
142: typedef struct {
143: apr_reslist_t *dbs; /* connection pool */...
|
by: Tudor Tihan |
last post by:
Hi,
This is my first post here, so please be kind.
I have tryed to make a javascript html page loader by using an
invisible <IFrame> and some javascript variable text passing between...
|
by: rn5a |
last post by:
I have a HTML page named Index.html which is divided into 3 frames. The
URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP
page.
Now when I go to Windows Explorer, navigate to...
|
by: DBMonitor |
last post by:
I have a table on a database that contains 18million records. I need
to design a system that queries this table to produce fast counts.
I have got counts for multiple criteria down to only a few...
|
by: Liam Gibbs |
last post by:
Hello everyone,
I'm having trouble figuring out a problem with a page I'm looking at:
http://www.international.gc.ca/fac/polar-polaire/final4.aspx?lang=en.
Quite obviously, my problem is that...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |