Anthony Smith's IDL routines

Galaxies etc.

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

misc/

ajs_add_struct_tags.pro

topajs_add_struct_tags

ajs_add_struct_tags, struct, new_tag_struct

Add new tags to an existing structure

Parameters

struct in out required

Array of structures with values

new_tag_struct in required

Single structure, giving the names and data types of the new tags

Examples

s = [{a:1, b:2}, {a:3, b:4}]

ajs_add_struct_tags, s, {c:0.0, d:''}

help, s, /structure

print, s.c

File attributes

Modifcation date: Fri Jun 6 08:19:26 2008
Lines: 29
Docformat: rst rst