183.  INVALID USE OF SP TABLE DECLARATION FUNCTION @SPDISTTABLE.

The @SPDISTTABLE function is a matrix oriented function that is uses in stochastic programming models to declare outcome tables and assign to assign random variables to those tables.  Correct usage is:

 @SPDISTTABLE( OUTCOME_TABLE_ATTR, RANDOM_VAR_VECTOR[, PROBABILITY_VECTOR]);

The outcome table argument must be either one or two dimensions, with each row of the table corresponding to an outcome of the random variable(s) in the random variable vector.  The number of elements in the random variable vector must equal the number of columns in the outcome table argument.  The third argument is optional, is used to pass the probabilities of the outcomes, and must have one element for each row of the outcome table.