functions in ees
Internal Functions. EES provides support for both internal and external functions. Internal functions are entered directly in the Equations window using the EES equation processor. EES functions are similar to those in Pascal. The rules for these functions are as follows: 1. The user functions must appear at the top of the Equations window, before any of the equations in the main body of the EES file appear. 2. User functions begin with the keyword FUNCTION. The function name and arguments, enclosed in parentheses and separated by commas, follow on the same line. Array range notation (e.g., X[1..5]) may be used as a shorthand argument list format. 3. The function is terminated by the keyword END. 4. The equations appearing in EES functions and procedures are fundamentally different from those appearing in the main body of EES. The equations in functions and procedures are more properly called assignment statements, similar to those used in ...