Argument '<argumentname>' must be within the range 1 to 255

An argument is not valid because it falls outside of the range 0 to 255.

To correct this error

  1. Check the spelling of arguments in the expression. A misspelled variable name can implicitly create a numeric variable that is initialized to zero.

  2. Check previous operations on variables in the expression, especially those passed into the procedure as arguments from other procedures.

See Also


Passing Arguments by Value and by Reference