Exp=&
@p1=
@c1=result =  CalculateEx_2(DecArray,temp_a, temp_b, c, d,KeyPath,16, 2000)
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=c
@vd=d
ext=
mgs=
@end
public function Boolean yand ( Boolean a, Boolean b );
//YAnd:
//Ŀģ߼(and)㣬
//aҪ߼ı1
//bҪ߼ı2
//ؽӺĽ
//LastError=0ȷLastErrorΪμֲ
 
	//ֲ
	Integer temp_a ,temp_b,result

	char  InArray[16]
	char  DecArray []
    int n
	//칤ɵļܺļܱʽ
	//бܵıʽΪ@exp
	InArray[1]=char(@ak100);InArray[2]=char(@ak101);InArray[3]=char(@ak102); InArray[4]=char(@ak103);
	InArray[5]=char(@ak104);InArray[6]=char(@ak105);InArray[7]=char(@ak106); InArray[8]=char(@ak107);
	InArray[9]=char(@ak108);InArray[10]=char(@ak109);InArray[11]=char(@ak110);InArray[12]=char(@ak111);
	InArray[13]=char(@ak112);InArray[14]=char(@ak113);InArray[15]=char(@ak114);InArray[16]=char(@ak115);
	//ܺıʽ͵ннܲ¼ܣʹӦȨţעת
	//Ȼ󷵻ؼܺݣüܺüӦ
	//ֻбӦȨŽתݲܱӦļܲ
	for n=1 to 16
			DecArray[n]=char(0)
	next 
	LastError=E_Dec_6(E_HKey, E_LKey, InArray, DecArray, KeyPath)
	if  LastError<> 0 then
	  return False
	end if
///////////////////////////////////////////////////////////////////////////////////////   
	temp_a=0
	if a then
	 temp_a=1
	end if
	temp_b=0
	if b then
	 temp_b=1
	end if
         Integer c,d,reuslt   //ֲ,ؽ
	 c = rand(256)-1
	 d = rand(256)-1
        //ⲽa,bĸ͵ڲ߼,c,dԡ
        //@fļе@pλдмʽ
        @1
        If (result <> 0) Then
            LastError = result //ô
        End If
        //ڼĽصtemp_a
        if temp_a =0 then
	return false
	end if
	return true
 
end function
