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_html_output/ToBeReviewed/STRUCTURE/mixstru.html

    r338 r402  
    8888 
    8989      <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  
    9294 do not break down but choose for the common element the value  
    9395 specified by the first structure. 
     
    164166          <h3>Examples</h3><div class="preformat"> 
    165167      
    166      IDL> a=get_extra(/toto,ok=123) 
    167      IDL> b=get_extra(ok=111, year=1999, age_capitaine=35) 
    168      IDL> help, a,b,/struct 
     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 
    169171     ** Structure <8334424>, 2 tags, length=4, refs=1: 
    170172        OK              INT            123 
     
    174176        OK              INT            111 
    175177        YEAR            INT           1999 
    176      IDL> help, mixstru(a,b),/struct 
     178   IDL> help, mixstru(a,b),/struct 
    177179     ** Structure <82f25ac>, 4 tags, length=8, refs=1: 
    178180        AGE_CAPITAINE   INT             35 
     
    180182        OK              INT            123 
    181183        TOTO            INT              1 
    182      IDL> help, mixstru(b,a),/struct 
     184   IDL> help, mixstru(b,a),/struct 
    183185     ** Structure <834604c>, 4 tags, length=8, refs=1: 
    184186        TOTO            INT              1 
     
    190192           
    191193          <h4>Version</h4><div class="preformat"> 
    192  $Id: mixstru.pro 325 2007-12-06 10:04:53Z pinsard $ 
     194 $Id: mixstru.pro 375 2008-08-08 15:55:40Z pinsard $ 
    193195</div> 
    194196          <h4>History</h4><div class="preformat"> 
     
    203205           
    204206          <h4>Restrictions</h4><div class="preformat"> 
    205  If STRU1 or  STRU2 is not a structure, mixstru send back -1 
     207 If STRU1 or STRU2 are not structure, mixstru send back -1 
    206208</div> 
    207209         
Note: See TracChangeset for help on using the changeset viewer.