用vbs实现的exe2swf工具脚本代码

2019-01-16 07:16:19王振洲

AsoR.close 
set AsoR=nothing 
AsoW.close 
set AsoW=nothing 

Function Bin2Str(Bin) 
   Dim I, Str 
   For I=1 to LenB(Bin) 
       clow=MidB(Bin,I,1) 
       if ASCB(clow)<128 then 
           Str = Str & (ASCB(clow)) 
       else 
           I=I+1 
           if I <= LenB(Bin) then Str = Str & (ASCW(MidB(Bin,I,1)&clow)) 
       end if 
   Next  
   Bin2Str = Str 
End Function