what that means?
----------------------------------------------------
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
..../include/languages.asp, line 4
##LANGMESSAGES##
-----------------------------------------------------
how do i correct this code that by the way was generated automaticly by the app "ASPRunnerPro 3.1"
here's the full code of the file: languages.asp
-----------
MULTILANG##<%
LANGMESSAGES##
DefaultLanguage="##DEFAULTLANG##"
Function GetListOfLanguages()
GetListOfLanguages = Languages
End Function
Function GetCurrentLanguage()
if Session("Language")<>"" then
GetCurrentLanguage = Session("Language")
else
GetCurrentLanguage = DefaultLanguage
end if
End Function
function MultilangMessage(tag)
Dim i,j
For i=LBound(Languages) to UBound(Languages)
if Languages(i) = GetCurrentLanguage() then
exit for
end if
Next
For j=LBound(Messages) to UBound(Messages)
if Messages(j) = tag then
exit for
end if
Next
if j<=UBound(Messages) and i<=UBound(Languages) then
MultilangMessage = MultilangMessages(i, j)
MultilangMessage = Replace(MultilangMessage, """", """)
MultilangMessage = Replace(MultilangMessage, "'", "'")
end if
End Function
%>##/MULTILANG##
-----------
thanks