qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Illegal function call
You are attempting to give an improper or out-of-range
argument to a Basic statement. Examples of such errors are:
  ■ A negative number is raised to a power that is not
    an integer.
  ■ A negative record number is given when using GET or PUT.
  ■ An I/O function or statement (LOC or LOF, for example)
    is performed on a device that does not support it.
  ■ Strings are concatenated to create a string greater
    than 32,767 characters in length.
  ■ A BLOAD or BSAVE operation is directed to a non-disk
    device.
 
ERR code: 5