Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* ************************************************************************
 #
 #  DivConq
 #
 #  http://divconq.com/
 #
 #  Copyright:
 #    Copyright 2014 eTimeline, LLC. All rights reserved.
 #
#  License:
#    See the license.txt file in the project's top-level directory for details.
#  Authors:
#    * Andy White
************************************************************************ */
package divconq.script.inst;
public class Main extends BlockInstruction {
	public void run(final StackEntry stack) {
		// first time through init steps
		if (stack.getState() == .) {
			stack.log().setSteps((int)stack.intFromSource("Steps", 0));			
			fstack.setParameterName(stack.stringFromSource("Parameter"));
		}
			public void resume() {
				if (stack.getState() == .
					stack.getActivity().setExitFlag(true);
			}
		});
		super.run(stack);
	}
	public StackEntry createStack(Activity actStackEntry parent) {
		return new StackFunctionEntry(actparentthis);
	}
New to GrepCode? Check out our FAQ X