* local variables can be allocated.
* @throws RulesException
*/
public void pushframe() throws RulesException{
if(framestkptr>=stklimit){
throw new RulesException("Control Stack Overflow",
"pushframe", "Control Stack Overflow.");
}
frames[framestkptr++] = currentframe;
currentframe = ctrlstkptr;