Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
ext=
mgs=
@end
public function string ystrcpy (  string s1);
//Ystrcpy
//Ŀģַи
//s:Դַ
//ؽĿַ
//LastError=0ȷLastErrorΪμֲ
if len(s1)>0 then

    //ֲ
    String temp_string 
    Integer temp_a 
    Integer temp_b 
    Integer temp_c 
    Integer temp_d 
    int n
	byte InArray[16]
	byte DecArray []
    
	//칤ɵļܺļܱʽ
	//бܵıʽΪ@exp
	InArray[1]=@ak100;InArray[2]=@ak101;InArray[3]=@ak102; InArray[4]=@ak103;
	InArray[5]=@ak104;InArray[6]=@ak105;InArray[7]=@ak106; InArray[8]=@ak107;
	InArray[9]=@ak108;InArray[10]=@ak109;InArray[11]=@ak110;InArray[12]=@ak111;
	InArray[13]=@ak112;InArray[14]=@ak113;InArray[15]=@ak114;InArray[16]=@ak115;
	//ܺıʽ͵ннܲ¼ܣʹӦȨţעת
	//Ȼ󷵻ؼܺݣüܺüӦ
	//ֻбӦȨŽתݲܱӦļܲ
	for n=1 to 16
			DecArray[n]=0
	next 
	LastError=E_Dec_6(E_HKey, E_LKey, InArray, DecArray, KeyPath)
	if  LastError<> 0 then
	  return ""
	end if
///////////////////////////////////////////////////////////////////////////////////////    

    Integer no_use  //ñ
        //ַĳȽַǰ1ǰ2ֲַĸֽڣַtemp_stringַ
	stoi_2(s1,temp_a,temp_b)	
    //ϴַĳȽַǰ1ǰ2ֲַĸֽ
    Integer result  //ֲ,ؽ
    //@fļе@pλдмʽ
    result = CalculateEx_2(DecArray, temp_a, temp_b, temp_c, temp_d,KeyPath,16, 2000)
	@1
    If result <> 0 Then
        LastError = result
        return "" //ô
    End If
    //ڼĽصtemp_a,temp_b,temp_c,temp_d,ֽڷַڴ
    itos_2(temp_a,temp_b,s1)
end if
    return s1
end function
