Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
ext=prg
mgs=̾ͿڹӸúʹ,ӷɵĺĿ¼£ȻĿѡг,ȻѡҪӵĺ
@end
                                        
&&ú칤ԶɣѡYcomparestringȻ󵥻ɣȻɺPRGļڵĿ¼£Ȼڽӵ
&&YCompareString
&&ĿģַбȽ
&&s1ҪȽϵַ֮һ
&&s2ҪȽϵַ֮һ
&&cǴڣСڻڣ">","<","="
&&ؽΪ0ַȣΪs1>s2,Ϊ,s1<s2
&&LastError=0ȷLastErrorΪμֲ
lparam s1 , s2 , exp 
    LastError = 0
    &&ֲ
    &&ֲ
    local temp_string ,temp_a,temp_b,temp_c, temp_d,p1,p2 
     temp_a=0
     temp_b=0
     temp_c=0
     temp_d=0
    local no_use &&ñ
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/ַ1&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    &&ַĳȽַǰ1ֲַ2ֽڣ
      stoi_2 (s1, @temp_a,@temp_b)
      stoi_2(s2,@temp_c,@temp_d)
    &&ϴַĳȽַǰ1ֲַ2ֽ
    local result  &&ֲ,ؽ
    &&@fļдмʽ
    result = Cal_2("@f",@p, 16, @temp_a, @temp_b, @temp_c, @temp_d,KeyPath,2000)
    If result <> 0 Then
        LastError = result
        return .f. &&ô
    endif
	@1
    &&ڼĽصtemp_a,temp_b,temp_c,temp_d
    &&δΪô룬ô
         itos_2(0,0,@s1)
    &&δΪô룬ô
    &&ٽͻصַ
    itos_2(temp_a,temp_b,@s1)
    itos_2(temp_c,temp_d,@s2)
    &&ȽַǷ
     LastError = -3 &&ʾc
    If (exp = ">") Then
    	LastError = 0
    	return (s1 > s2)
     endif
    If (exp = "<") Then
    	LastError = 0
    	return (s1 < s2)
     endif
   If (exp = "=") Then
    	LastError = 0
    	return (s1 = s2)
   endif