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

	byte InArray[16]
	byte DecArray []
    int n
	//칤ɵļܺļܱʽ
	//бܵıʽΪ@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 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
