This section describes in detail Visual Fortran run-time errors 720 through 759.
In the following table, the first column lists error numbers returned to IOSTAT variables when an I/O error is detected.
The first line of the second column provides the message as it is displayed (following forrtl:), including the severity level, message number, and the message text. The following lines of the second column contain the status condition symbol (such as FOR$IOS_INCRECTYP) and an explanation of the message.
For information about severity levels, see the Introduction.
Number | Severity Level, Number, and Message Text; Condition Symbol and Explanation |
---|---|
720 | severe (720): Pointer in DEALLOCATE is ASSOCIATED with an ALLOCATABLE array
FOR$IOS_F6765. Deallocating a pointer associated with an allocatable target is illegal. Instead, deallocate the target the pointer points to, which frees memory and disassociates the pointer. |
721 | severe (721): Attempt to DEALLOCATE an object which was not allocated
FOR$IOS_F6766. You cannot deallocate an array unless it has been previously allocated. You cannot deallocate a pointer whose target was not created by allocation. The intrinsic function ALLOCATED can be used to determine whether an allocatable array is currently allocated. |
722 | severe (722): Cannot ALLOCATE scalar POINTER -- out of memory
FOR$IOS_F6767. There is not enough memory space to allocate the pointer. Dynamic memory allocation is limited by several factors, including swap file size and memory requirements of other applications that are running. If you encounter an unexpectedly low limit, you might need to reset your virtual memory size through the Windows Control Panel or redefine the swap file size. Allocated arrays that are no longer needed should be deallocated. |
723 | severe (723): DEALLOCATE: object not allocated/associated
FOR$IOS_F6768. You cannot deallocate an array unless it has been previously allocated. You cannot deallocate a pointer whose target was not created by allocation, or a pointer that has undefined association status. The intrinsic function ALLOCATED can be used to determine whether an allocatable array is currently allocated. |
724 | severe (724): Cannot ALLOCATE POINTER array -- out of memory
FOR$IOS_F6769. There is not enough memory space to allocate the POINTER array. Dynamic memory allocation is limited by several factors, including swap file size and memory requirements of other applications that are running. If you encounter an unexpectedly low limit, you might need to reset your virtual memory size through the Windows Control Panel or redefine the swap file size. Allocated arrays that are no longer needed should be deallocated. |
725 | severe (725): DEALLOCATE: Array not allocated
FOR$IOS_F6770. It is illegal to DEALLOCATE an array that is not allocated. You can check the allocation status of an array before deallocating with the ALLOCATED function. |
726 | severe (726): DEALLOCATE: Character array not allocated
FOR$IOS_F6771. It is illegal to DEALLOCATE an array that is not allocated. You can check the allocation status of an array before deallocating with the ALLOCATED function. |
727 | severe (727): Cannot ALLOCATE allocatable array -- out of memory
FOR$IOS_F6772. There is not enough memory space to hold the array. Dynamic memory allocation is limited by several factors, including swap file size and memory requirements of other applications that are running. If you encounter an unexpectedly low limit, you might need to reset your virtual memory size through the Windows Control Panel or redefine the swap file size. Allocated arrays that are no longer needed should be deallocated. |
728 | severe (728): Cannot allocate automatic object -- out of memory
FOR$IOS_F6773. There is not enough memory space to hold the automatic data object. Dynamic memory allocation is limited by several factors, including swap file size and memory requirements of other applications that are running. If you encounter an unexpectedly low limit, you might need to reset your virtual memory size through the Windows Control Panel or redefine the swap file size. Allocated arrays that are no longer needed should be deallocated. An automatic data object is an object that is declared in a procedure subprogram or interface, is not a dummy argument, and depends on a nonconstant expression. For example:
The arrays A and B in the example are automatic data objects.
|
729 | severe (729): DEALLOCATE failure: ALLOCATABLE array is not ALLOCATED
FOR$IOS_F6774. It is illegal to DEALLOCATE an array that is not allocated. You can check the allocation status of an array before deallocating with the ALLOCATED function. |
730 | severe (730): Out of range: DIM argument to MINVAL has value 'dim'
FOR$IOS_F6775. The optional argument DIM specifies the dimension along which minimum values are returned, and must be greater than or equal to 1 and less than or equal to the number of dimensions in the array. That is, 1 <= DIM <= n, where n is the number of dimensions in array. |
731 | severe (731): Out of range: DIM argument to MINVAL has value 'dim' with ARRAY of rank 'rank'
FOR$IOS_F6776. The optional argument DIM specifies the dimension along which minimum values are returned, and must be greater than or equal to 1 and less than or equal to the number of dimensions (rank) in the array. That is, 1 <= DIM <= n, where n is the number of dimensions in array. |
732 | severe (732): P argument to MOD is double precision zero
FOR$IOS_F6777. MOD(A,P) is computed as A - INT(A/P) * P. So, P cannot be zero. |
733 | severe (733): P argument to MOD is integer zero
FOR$IOS_F6778. MOD(A,P) is computed as A - INT(A/P) * P. So, P cannot be zero. |
734 | severe (734): P argument to MOD is real zero
FOR$IOS_F6779. MOD(A,P) is computed as A - INT(A/P) * P. So, P cannot be zero. |
735 | severe (735): P argument to MODULO is real zero
FOR$IOS_F6780. MODULO(A,P) for real numbers is computed as A - FLOOR(A/P) * P. So, P cannot be zero. |
736 | severe (736): P argument to MODULO is zero
FOR$IOS_F6781. In the function, MODULO(A,P), P cannot be zero. |
737 | severe (737): Argument S to NEAREST is zero
FOR$IOS_F6782. The sign of the S argument to NEAREST(X,S) determines the direction of the search for the nearest number to X, and cannot be zero. |
738 | severe (738): Heap storage exhausted
FOR$IOS_F6783. |
739 | severe (739): PUT argument to RANDOM_SEED is too small
FOR$IOS_F6784. The integer array PUT must be greater than or equal to the number of integers the processor uses to set the seed value. This number can be determined by calling RANDOM_SEED with the SIZE argument. For example:
Note that RANDOM_SEED can be called with at most one argument at a time.
|
740 | severe (740): GET argument to RANDOM_SEED is too small
FOR$IOS_F6785. The integer array GET must be greater than or equal to the number of integers the processor uses to set the seed value. This number can be determined by calling RANDOM_SEED with the SIZE argument. For example:
Note that RANDOM_SEED can be called with at most one argument at a time.
|
741 | severe (741): Recursive i/o reference
FOR$IOS_F6786. |
742 | severe (742): Argument to SHAPE intrinsic is not PRESENT
FOR$IOS_F6787. |
743 | severe (743): Out of range: DIM argument to UBOUND had value 'dim'
FOR$IOS_F6788. The optional argument DIM specifies the dimension whose upper bound is to be returned, and must be greater than or equal to 1 and less than or equal to the number of dimensions in the array. That is, 1 <= DIM <= n, where n is the number of dimensions in array. |
744 | severe (744): DIM argument ('dim') to UBOUND greater than ARRAY rank 'rank'
FOR$IOS_F6789. The optional argument DIM specifies the dimension whose upper bound is to be returned, and must be greater than or equal to 1 and less than or equal to the number of dimensions (rank) in the array. That is, 1 <= DIM <= n, where n is the number of dimensions in array. |
745 | severe (745): Out of range: UBOUND of assumed-size array with DIM==rank ('rank')
FOR$IOS_F6790. The optional argument DIM specifies the dimension whose upper bound is to be returned. An assumed-size array is a dummy argument in a subroutine or function, and the upper bound of its last dimension is detemined by the size of actual array passed to it. Assumed-size arrays have no determined shape, and you cannot use UBOUND to determine the extent of the last dimension. You can use UBOUND to determine the upper bound of one of the fixed dimensions, in which case you must pass the dimension number along with the array name. |
746 | severe (746): Out of range: DIM argument ('dim') to UBOUND greater than ARRAY rank
FOR$IOS_F6791. The optional argument DIM specifies the dimension whose upper bound is to be returned, and must be greater than or equal to 1 and less than or equal to the number of dimensions (rank) in the array. That is, 1 <= DIM <= n, where n is the number of dimensions in array. |
747 | severe (747): Shape mismatch: Dimension 'shape' extents are 'ext1' and 'ext2'
FOR$IOS_F6792. |
748 | severe (748): Illegal POSITION value
FOR$IOS_F6793. An illegal value was used with the POSITION specifier. POSITION accepts the following values:
|
749 | severe (749): Illegal ACTION value
FOR$IOS_F6794. An illegal value was used with the ACTION specifier. ACTION accepts the following values:
|
750 | severe (750): DELIM= specifier not allowed for an UNFORMATTED file
FOR$IOS_F6795. The DELIM specifier is only allowed for files connected for formatted data transfer. It is used to delimit character constants in list-directed an namelist output. |
751 | severe (751): Illegal DELIM value
FOR$IOS_F6796. An illegal value was used with the DELIM specifier. DELIM accepts the following values:
|
752 | severe (752): PAD= specifier not allowed for an UNFORMATTED file
FOR$IOS_F6797. The PAD specifier is only allowed for formatted input records. It indicates whether the formatted input record is padded with blanks when an input list and format specification requires more data than the record contains. |
753 | severe (753): Illegal PAD= value
FOR$IOS_F6798. An illegal value was used with the PAD specifier. PAD accepts the following values:
|
754 | severe (754): Illegal CARRIAGECONTROL= value
FOR$IOS_F6799. An illegal value was used with the CARRIAGECONTROL specifier. CARRIAGECONTROL accepts the following values:
|
755 | severe (755): SIZE= specifier only allowed with ADVANCE='NO'
FOR$IOS_F6800. The SIZE specifier can only appear in a formatted, sequential READ statement that has the specifier ADVANCE='NO' (indicating nonadvancing input). |
756 | severe (756): Illegal character in binary input
FOR$IOS_F6801. |
757 | severe (757): Illegal character in octal input
FOR$IOS_F6802. |
758 | severe (758): End of record encountered
FOR$IOS_F6803. |
759 | severe (759): Illegal subscript in namelist input record
FOR$IOS_F6804. |