C Structure class > Methods xHarbour Developers Network  

oC Structure class:sizeOf()

Determines the size of a structure in bytes.

Syntax

:sizeOf() --> nStructureSize

Description

Method :sizeOf() returns a numeric value representing the number of bytes a structure occupies in memory. This value is quite often required in structures used by the Windows API. If one structure member exist that indicates the structure size, it must be assigned the return value of method :sizeOf().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe