时间: 2021-07-31 作者:daque
作家:virtualboy功效是读取颁布目次下的一个ini文献if flgsection = true thenif mid(strlinedata,1,7) = "service" then strtempdata = trim(mid(strlinedata,8,len(strlinedata)-7)) if mid(strtempdata,1,1) = "=" then strtempdata = trim(mid(strtempdata,2,len(strtempdata)-1)) application.lock application("service") = mid(strtempdata,2,len(strtempdata)-2) application.unlock end ifend ifif mid(strlinedata,1,4) = "user" then strtempdata = trim(mid(strlinedata,5,len(strlinedata)-4)) if mid(strtempdata,1,1) = "=" then strtempdata = trim(mid(strtempdata,2,len(strtempdata)-1)) application.lock application("user") = mid(strtempdata,2,len(strtempdata)-2) application.unlock end ifend ifend ifend ifwendobjts.closeset objts = nothingset objfs = nothingend sub</script>