日期:2014-05-17  浏览次数:20833 次

ASP类型不匹配
程序:content.txt是一个字库文件,
<!--#include   file=content.txt-->
<%
sub   fenci(text)
dim   text_c
'text=Trim(Request( "text "))
text_c=split(text_d, "| ")
'text= "09年4月入党思想汇报:让群众参与学习实践活动 "
text_v= " "
text_w= " "
k=1
j=1
n=0
do
    text_u=Trim(mid(text,k,j))
   
    for   i=0   to   Ubound(text_c)
        if   Trim(text_c(i))=text_u   then
text_v=text_u                       '存入对比到的数据
    exit   for
end   if
    next
 
    if   j> =len(text)+1-k   then               '一次对比结束后执行的操作
        if   text_v <> " "   then                       '对有效数据进行保存
    text_w=text_w+text_v+ "| "
    text_v= " "
    k=k+1
    text_u_v=0
end   if
    j=1
k=k+1
    end   if
    j=j+1
   
    if   k> len(text)   then
        fenci=text_w
exit   do
    end   if
loop
end   sub

response.Write   text& "= "&tfenci( "09年4月入党思想汇报:让群众参与学习实践活动 ")

%>

------解决方案--------------------
哪行错了,哪里错了?怎么都不指出?
------解决方案--------------------
把错误的详细信息贴出来。