[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]



Table of Contents




Introduction

This directory contains IDL procedures for working with IDL structure variables. The procedure CREATE_STRUCT will dynamically create an IDL structure and is useful when the structure properties are not known before run time. RSI subsequently introduced the intrinsic function CREATE_STRUCT() in IDL V3.6 which has a similar purpose, but requires that each tag value be input as a separate parameter. This makes the intrinisc function awkward to use when the number of tags is not known prior to run time and thus the procedure CREATE_STRUCT is being kept in the Library. The procedure MRD_STRUCT is similar to CREATE_STRUCT and was developed for the MRDFITS procedure.


Index of Subroutines

COMPARE_STRUCT Compare all matching tag names and return differences
COPY_STRUCT Copy all fields with matching tag names from one structure to another
COPY_STRUCT_INX Copy matching tags & specified indices from one structure to another
CREATE_STRUCT Create an IDL structure from a list of tag names and dimensions
MRD_STRUCT Return a structure as defined in the names and values data.
N_STRUCT To determine if variable is a structure and return number of elements.
PRINT_STRUCT Print the tag values of an array of structures in nice column format.
SIZE_STRUCT Obtain the size in bytes of an IDL structure definition.
TAG_EXIST() To test whether a tag name exists in a structure.
WHERE_TAG Like WHERE but works on structure tag names

Last modified by pro2html on 2008 November 09 at 04:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically