Oh, I examined the code again, and it happens when the javascript and vbscript are in the same program unit. If the vbscript block is located behind the javascript block, the first vbs function can't appear in the Function List, like function login in the following:
When using function list to show VB functions in block <script language="vbscript">, the first function does never appear in the list.
environment:
notepad++ v4.1.2
os: windows xp sp2, windows 2003
What do you mean by first function. Please show an example an be more concrete.
Best Regards
Jens
Oh, I examined the code again, and it happens when the javascript and vbscript are in the same program unit. If the vbscript block is located behind the javascript block, the first vbs function can't appear in the Function List, like function login in the following:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*"%>
<SCRIPT LANGUAGE="JavaScript">
<!--
//选择组织后的动作
function selectorg(o, id)
{
//如果当前选择的路由是会签的情况,直接返回
if (currentPerformType == PERFORMTYPE_JOINTSIGN) {
}
}
//-->
</SCRIPT>
<script language="vbscript">
' 登陆
Function Login()
ret = key.LoginModule("00000000")
if ret = 0 then
key.MountDisk(txtPass.Value)
msgbox "登陆成功"
else
msgbox "登陆失败"
end if
End Function
' 退出
Function Logout()
ret = key.CloseModule()
if ret = 0 then
msgbox "退出成功"
else
msgbox "退出失败"
end if
End Function
</script>