Illegal function call

Error 5

 

Possible causes:

         A statement or function has an improper or out-of-range argument.  For example:

      A negative or unreasonably large subscript

      A negative number raised to a non-integer power

      A negative record number in a GetLANGET or PutLANPUT statement

      An I/O function or statement (LocLANLOC or LOFLANLOF, for example) performed on a device that does not support it

         Strings are concatenated to create a string greater than 65,535 characters in length

         Invalid method call, such as an inappropriate method argument