Subject: debugging
Posted By: Adam H-W Post Date: 2/11/2004 11:52:24 AM
Just a quick one

this error message.....

Microsoft VBScript compilation error '800a0400'

Expected statement

/rs.asp, line 141

end if
^

does it mean that it's expecting an 'end if' or could it mean a multitude of problems?

thanks

Adam
Reply By: Yehuda Reply Date: 2/11/2004 1:30:28 PM
Adam,

It either means you are missing an End If or you forgot to close a similar statement (e.g. For statement, Do Statement, etc.) inside an If statement and it is flagging the End If because it is waiting for the other end statement and the End if as a result appears to be in the other statement.  Remember to indent your code.  It is a great practice that helps to avoid such isues.

Yehuda

Go to topic 9178

Return to index page 951
Return to index page 950
Return to index page 949
Return to index page 948
Return to index page 947
Return to index page 946
Return to index page 945
Return to index page 944
Return to index page 943
Return to index page 942