Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRUCTURE/mixstru.html

    r338 r402  
    6262 
    6363     
    64  Concatenate 2 structures together. The difference with CREATE_STRUCT  
    65  is  that if the 2 structure have same elements's name, then mixstru  
     64 Concatenate 2 structures together.  
     65 
     66 The difference with <a href="/Applications/itt/idl64/help/online_help/CREATE_STRUCT.html">CREATE_STRUCT</a> 
     67 is that if the 2 structures have same elements's name, then mixstru  
    6668 do not break down but choose for the common element the value  
    6769 specified by the first structure. 
     
    131133    <h3>Examples</h3><pre> 
    132134      
    133      IDL> a=get_extra(/toto,ok=123) 
    134      IDL> b=get_extra(ok=111, year=1999, age_capitaine=35) 
    135      IDL> help, a,b,/struct 
     135   IDL> a=get_extra(/toto,ok=123) 
     136   IDL> b=get_extra(ok=111, year=1999, age_capitaine=35) 
     137   IDL> help, a,b,/struct 
    136138     ** Structure <8334424>, 2 tags, length=4, refs=1: 
    137139        OK              INT            123 
     
    141143        OK              INT            111 
    142144        YEAR            INT           1999 
    143      IDL> help, mixstru(a,b),/struct 
     145   IDL> help, mixstru(a,b),/struct 
    144146     ** Structure <82f25ac>, 4 tags, length=8, refs=1: 
    145147        AGE_CAPITAINE   INT             35 
     
    147149        OK              INT            123 
    148150        TOTO            INT              1 
    149      IDL> help, mixstru(b,a),/struct 
     151   IDL> help, mixstru(b,a),/struct 
    150152     ** Structure <834604c>, 4 tags, length=8, refs=1: 
    151153        TOTO            INT              1 
     
    157159     
    158160    <h4>Version</h4> 
    159  $Id: mixstru.pro 325 2007-12-06 10:04:53Z pinsard $ 
     161 $Id: mixstru.pro 375 2008-08-08 15:55:40Z pinsard $ 
    160162 
    161163    <h4>History</h4> 
     
    170172     
    171173    <h4>Restrictions</h4> 
    172  If STRU1 or  STRU2 is not a structure, mixstru send back -1 
     174 If STRU1 or STRU2 are not structure, mixstru send back -1 
    173175 
    174176 
Note: See TracChangeset for help on using the changeset viewer.