mglib

Personal IDL library for M. Galloy

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

introspection/

mg_typesize.pro


Routines

top 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

long

Parameters

type_code in required type=integer

type code 0-15

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 24
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.