This variable sets the maximum number of files that can be opened by the runtime system. The default value is 32. Keeping this value small conserves memory. Many operating systems limit the number of files that can be opened by a single process, so you may have to make some adjustments there too. The maximum value of MAX_FILES is 32767. The new higher limit of MAX_FILES is only available for objects compiled to version 6.2 or later. If MAX_FILES > 255 is used, all objects in use must be compiled to object version 6.2 or later. Failing to do this may lead to undefined behavior.