- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STRUCTURE/mixstru.html
r338 r402 88 88 89 89 <div id="file_comments"> 90 Concatenate 2 structures together. The difference with CREATE_STRUCT 91 is that if the 2 structure have same elements's name, then mixstru 90 Concatenate 2 structures together. 91 92 The difference with <a href="/Applications/itt/idl64/help/online_help/CREATE_STRUCT.html">CREATE_STRUCT</a> 93 is that if the 2 structures have same elements's name, then mixstru 92 94 do not break down but choose for the common element the value 93 95 specified by the first structure. … … 164 166 <h3>Examples</h3><div class="preformat"> 165 167 166 167 168 168 IDL> a=get_extra(/toto,ok=123) 169 IDL> b=get_extra(ok=111, year=1999, age_capitaine=35) 170 IDL> help, a,b,/struct 169 171 ** Structure <8334424>, 2 tags, length=4, refs=1: 170 172 OK INT 123 … … 174 176 OK INT 111 175 177 YEAR INT 1999 176 178 IDL> help, mixstru(a,b),/struct 177 179 ** Structure <82f25ac>, 4 tags, length=8, refs=1: 178 180 AGE_CAPITAINE INT 35 … … 180 182 OK INT 123 181 183 TOTO INT 1 182 184 IDL> help, mixstru(b,a),/struct 183 185 ** Structure <834604c>, 4 tags, length=8, refs=1: 184 186 TOTO INT 1 … … 190 192 191 193 <h4>Version</h4><div class="preformat"> 192 $Id: mixstru.pro 3 25 2007-12-06 10:04:53Z pinsard $194 $Id: mixstru.pro 375 2008-08-08 15:55:40Z pinsard $ 193 195 </div> 194 196 <h4>History</h4><div class="preformat"> … … 203 205 204 206 <h4>Restrictions</h4><div class="preformat"> 205 If STRU1 or STRU2 is not astructure, mixstru send back -1207 If STRU1 or STRU2 are not structure, mixstru send back -1 206 208 </div> 207 209
Note: See TracChangeset
for help on using the changeset viewer.