sizeof

Date:

02-06-2023

NAME

SIZEOF - Returns bytes of storage

SYNOPSIS

SIZEOF ([X=]x)

STANDARDS

Fortran extension

DESCRIPTION

The SIZEOF inquiry function returns the number of bytes of storage used by x. This function accepts the following argument:

x

A scalar or array of type CHARACTER, COMPLEX, INTEGER, LOGICAL, or REAL. Cannot be an assumed-size array.

The name of this intrinsic cannot be passed as an argument.

RETURN VALUES

The result type and type parameter are of type default integer.