package Reldb.RelUserCode;

import org.reldb.rel.v0.types.*;
import org.reldb.rel.v0.types.builtin.*;
import org.reldb.rel.v0.types.userdefined.*;
import org.reldb.rel.v0.values.*;
import org.reldb.rel.v0.vm.Context;

public class op_EQUALS_IGNORE_CASE__CHARACTER_CHARACTER {
	private static final ValueBoolean do_EQUALS_IGNORE_CASE(Context context, ValueCharacter s, ValueCharacter anotherString) {
		
		//          Compares this String to another String, ignoring case considerations.
			return ValueBoolean.select(context.getGenerator(), s.stringValue().equalsIgnoreCase(anotherString.stringValue()));
	}

	public static final void execute(Context context) {
		ValueCharacter p1 = (ValueCharacter)context.pop();
		ValueCharacter p0 = (ValueCharacter)context.pop();
		context.push(do_EQUALS_IGNORE_CASE(context, p0, p1));
	}
}