Exp=z
@p1='Ҫ
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
ext=
mgs=
@end
public function boolean checkkey ();
//:CheckKey
//ĿģǷڶӦļ
//ؽ
//ؼ٣ʾδҵӦļδעע󣬷,ʾڶӦļ
    //̿κεطʹüճķʽδԼĴУһҪע⣬ҪʹеļܱʽһҪԼһµļܱʽ
    //ֲ
    Integer a,b,c,d,result //¼ؽ
    Integer temp_a,temp_b,temp_c,temp_d
    //
    	a = rand(256)-1
	 b = rand(256)-1
	 c = rand(256)-1
	 d = rand(256)-1
    temp_a=a
    temp_b=b
    temp_c=c
    temp_d=d
    //͵ڽ㣬
    If (CalculateEx_3("@f.lll",@p, 16, a, b, c, d,KeyPath,2000) <> 0) Then
		return false
	end if
    //ڵʹô㷨ԸղŲ㣬ĽǷͬ
    @1
    //ΪܱʽҪӦĸı
	 //ͬڶӦ򣬲ڶӦļ
    If a = temp_a And b = temp_b And c = temp_c And d = temp_d Then
       return True
    End If

return false
end function
