int getValidParams(int fn_num)


Returns the number of valid parameters for state function fn_num. If the return value is a positive number n, then any of the input parameter values 0 through n-1 are valid, inclusively. If n is 0, then the parameter does not matter.