misc/
augment_inherited_keyword.pro
top source augment_inherited_keyword
Misc
augment_inherited_keyword, extra, label, value
Adds keywords to the _EXTRA structure.
Parameters
- extra in
A structure of the form passed via the _EXTRA facility inside a procedure or function. On output, contains all old keywords (if any) plus the new Label=Value pair.
- label in
String containing a new keyword to be added to Extra.
- value in
Value to assign to the keyword.
Examples
PRO FUNNYPLOT, x, y, _EXTRA=extraplot
IF x[0] GT y[0] THEN AUGMENT_INHERITED_KEYWORD, extraplot, 'color', 2
PLOT, x, y, _EXTRA=extraplot
END
Author information
- History:
Written by: Jeremy Bailin 12 June 2008 Public release in JBIU
File attributes
| Modification date: | Wed Apr 15 16:08:08 2009 |
| Lines: | 39 |
![[attach.png]](../idldoc-resources/attach.png)