Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes


top source mg_typesize

result = mg_typesize(type_code)

Returns the size in bytes of a variable of the given type code. Types which don't have a fixed size like strings, pointers, and objects return -1L.

Return value



type_code in required type=integer

type code 0-15

File attributes

Modification date: Wed Sep 14 12:57:28 2011
Lines: 39
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.