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
Array of structures with values
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 |