class PRED_set_prolog_flag_2_1 extends PRED_set_prolog_flag_2 {
public Predicate exec(Prolog engine) {
// set_prolog_flag(A,B):-var(A),!,illarg(var,set_prolog_flag(A,B),1)
Term a1, a2, a3, a4;
Predicate cont;
a1 = engine.aregs[1];
a2 = engine.aregs[2];
cont = engine.cont;
// set_prolog_flag(A,B):-['$get_level'(C),var(A),'$cut'(C),illarg(var,set_prolog_flag(A,B),1)]
a3 = new VariableTerm(engine);