C_SIZEOF

Platform

x64, Win32

Purpose

To get the size of an expression in bytes.

Syntax

INTEGER FUNCTION C_SIZEOF(X)

Description

The argument X can be any expression. The returned value has the KIND value C_SIZE_T from the ISO_C_BINDING module.
This function requires the statement:
    USE ISO_C_BINDING

Notes

The standard intrinsic STORAGE_SIZE is similar but returns the size in bits.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited