Changeset 150 for trunk/SRC/ToBeReviewed/STRUCTURE/mixstru.pro
- Timestamp:
- 08/09/06 12:12:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRUCTURE/mixstru.pro
r134 r150 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME: mixstru6 5 ; 7 ; PURPOSE: concatene 2 structures ensemble. La difference avec 8 ; CREATE_STRUCT etant que si les 2 stuctures ont les memes noms 9 ; d''elements alors mixstru ne plante pas mais choisit pour valeur de 10 ; l''element commun celle specifiee par la premiere structure. 6 ; @file_comments 7 ; Concatenate 2 structures together. The difference with CREATE_STRUCT 8 ; is that if the 2 structure have same elements's name, then mixstru 9 ; do not break down but choose for the common element the value 10 ; specified by the first structure. 11 11 ; 12 ; CATEGORY: structure 12 ; @categories 13 ; structure 14 ; 15 ; @param STRU1 {in}{required} 16 ; Structure which can have same elements's name than 17 ; STRU2 but with a different value. 13 18 ; 14 ; CALLING SEQUENCE: rs=mixstru(stru1,stru2) 15 ; 16 ; INPUTS: stru1 et stu2 sont 2 structures qui peuvent avoir des 17 ; elements portant le meme nom mais avec une valeur differente. 19 ; @param STRU2 {in}{required} 20 ; Structure which can have same elements's name than 21 ; STRU1 but with a different value. 18 22 ; 19 ; KEYWORD PARAMETERS: none 23 ; @returns 24 ; A stucture 20 25 ; 21 ; OUTPUTS: une stucture 26 ; @restrictions 27 ; If STRU1 or STRU2 is not a structure, mixstru send back -1 22 28 ; 23 ; COMMON BLOCKS: 24 ; 25 ; SIDE EFFECTS: si stru1 ou stru2 ne sont pas des structures mixstru 26 ; renvoie -1 27 ; 28 ; RESTRICTIONS: 29 ; 30 ; EXAMPLE: 29 ; @examples 31 30 ; 32 31 ; IDL> a=get_extra(/toto,ok=123) … … 53 52 ; YEAR INT 1999 54 53 ; 55 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 54 ; @history 55 ; Sebastien Masson (smasson@lodyc.jussieu.fr) 56 56 ; 7/10/1999 57 ; 58 ; @version 59 ; $Id$ 60 ; 57 61 ;- 58 62 ;------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.