Function

##
Function

INTEGER FUNCTION LENC(LINE)

Returns the “current” length of the string LINE, that is the position of the last significant character. It thus allows to ignore trailing blanks. It is obsolescent, as the Fortran-90 intrinsic LEN_TRIM provides the same functionality.

INTEGER FUNCTION SIC_GETVM(N32,ADDR)

SIC_GETVM allocates virtual memory for N32 32-bit words, and returns the allocated address space into the KIND=ADDRESS_LENGTH variable ADDR. SIC_GETVM is set to 1 in case of success, to other values otherwise.

SUBROUTINE FREE_VM(N32,ADDR)

FREE_VM can be used to free the corresponding adress space when no longer needed.

SIC_GETVM and FREE_VM use is being deprecated, as the ALLOCATE/DEALLOCATE mechanism of Fortran-90 offers an equivalent functionality.