Hi,
I need to do multi-conditional statements like below, but this error is
displayed :
Expected 'End'
/myFilepath, line x
else response.write( arrCorpo(sparam ,sdiv)) end if
I don't understand why this 'Expected 'End'' error is called!
Here is my code:
<%
sdiv=request("d iv")
sparam=request( "param")
snat=request("n at")
%>
<%
Function loopDatas(array Name)
nRowCount = ubound(arrayNam e, 2)
For n=0 to nRowCount
response.write( arrayName(1,n)& "<BR>")
Next
End Function
%>
<%
if(sdiv=3) then
if snat="" then response.write( corpclientsmain text)
else if (snat=1 or snat=2) then
response.write( "<table
width='200'><tr ><td>"&corpclie ntsgov&"<br>"&c orpclientsfi&"< br>"&corpclient s
lcorp&"<br>"&co rpclientslfirms &"<br>"&corpcli entsafirms&"<br ></td><td>")
call loopDatas(arrCo rpoType)
response.write( "</td></tr></table>")
end if
else response.write( arrCorpo(sparam ,sdiv))
end if
%>
Can someone help me?
Thanks in advance
Patrice