Wednesday, January 25, 2006

Microsoft VBScript compilation (0x800A0400)

Microsoft VBScript compilation (0x800A0400) Expected statement (ASP)

The cause for this error is a missing flow control statement.
For example end if withot if, for loop without next, funcion without end function.

One way to deal with such error is to prevent to begin with.
When opening a new coding block, close it before doing any coding within that coding block.
Indent your code so you can see immdietly missing statements.

example

if a=b then
do some things
if b = 2 then
Some more code
end if
end if

0 Comments:

Post a Comment

<< Home