You are here:Home>Prompt: Compiler Error, Missing subroutine

Prompt: Compiler Error, Missing subroutine

When the model is simulated the following error is received.

Compiler Error, Missing subroutine parameter. Subroutine 'Time_' has 2 parameters.

Compiler Error,
Missing subroutine parameter.
Subroutine ‘Time_’ has 2 parameters.

Reason:

Your action logic is missing a space between the parameters in a statement. For example, if you are using a TIME statement (as shown in the graphic above) you have typed Time(15Sec) rather than Time(15 Sec).

Solution:

In the graphic above, note the highlighted line in the Context section (For All Entities at Process: Operation: Line 1). This indicates that the error can be found in the 1st line of action logic in the activity named Process. Edit that action logic to make sure there is a space between statement parameters.

If you need further help, please contact support.

By |Comments Off on Prompt: Compiler Error, Missing subroutine

About the Author:

Scott Baird has been president of ProcessModel for more than 15 years. His focus has been to teach others how to improve processes dramatically. He has been successful in transferring these skills to over 200 companies, including ESPN, NASA, GE, Nationwide, Cendant, SSA and many more. Specialties: Group facilitation for process improvement, process design and simulation, simulation modeling, business management and training others to see opportunities. Scott loves to teach process improvement and has often been heard to say, “Of all the things I do, training others to improve processes is my favorite.” Scott is a father of four and a grandfather of eight. He is an avid woodworker, designing and creating presentation boxes. In his spare time, he volunteers in a college preparation program.