インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド

SIZEOF

Inquiry Intrinsic Function (Generic): Returns the number of bytes of storage used by the argument. It cannot be passed as an actual argument.

result = SIZEOF (x)

x

(Input) Can be a scalar or array. It may be of any data type. It must not be an assumed-size array.

結果

The result type is INTEGER(4) on IA-32 architecture; INTEGER(8) on Intel® 64 architecture. The result value is the number of bytes of storage used by x.

SIZEOF (3.44)              ! has the value 4
SIZEOF ('SIZE')            ! has the value 4

このヘルプトピックについてのフィードバックを送信