protected void HandelStack()
{
// Findout what the operator does to the stack
int StackHandel = StackOpp();
if (StackHandel < 2)
{
// The operators that enlarge the stack by one
if (StackHandel==1)
PushStack();
// The operators that pop the stack
else
{
// Abs value for the for loop
StackHandel *= -1;
for (int i=0;i<StackHandel;i++)
PopStack();
}
}
// All other flush the stack
else
EmptyStack();
}