Changeset 150 for trunk/SRC/ToBeReviewed/STRUCTURE/struct2string.pro
- Timestamp:
- 08/09/06 12:12:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRUCTURE/struct2string.pro
r134 r150 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:struct2string 5 ; 6 ; @file_comments 7 ; Convert a structure to an "executable string" 6 8 ; 7 ; PURPOSE:convert a structure to an "executable string" 9 ; @categories 10 ; utilities 11 ; 12 ; @param STRUCT {in}{required} 13 ; A structure 8 14 ; 9 ; CATEGORY:bidouille 15 ; @keyword MAX_STRUCT_LENGTH 16 ; The maximum length of the structure 17 ; permetted to convert the structure to string. Default is 18 ; 10000l. 10 19 ; 11 ; CALLING SEQUENCE:sting=struct2string(struct) 12 ; 13 ; INPUTS:struct: a structure 20 ; @keyword DIRECT2STRING 21 ; To get a string instead an "executable string" 14 22 ; 15 ; KEYWORD PARAMETERS: 23 ; @keyword CUT_IN_STRING 24 ; Try it 16 25 ; 17 ; MAX_STRUCT_LENGTH : the maximum length of the structure 18 ; permetted to convert the structure to string. Default is 19 ; 10000l. 26 ; @restrictions 27 ; Use tostr.pro, cf this function header! 20 28 ; 21 ; /DIRECT2STRING: to get a string instead an "executable string" 22 ; 23 ; /CUT_IN_STRING: try it 24 ; 25 ; OUTPUTS: 26 ; 27 ; SIDE EFFECTS:use tostr.pro, cf this function header! 28 ; 29 ; RESTRICTIONS:use tostr.pro, cf this function header! 30 ; 31 ; EXAMPLE: 29 ; @examples 32 30 ; 33 31 ; IDL> print, struct2string(!d) … … 38 36 ; ,[0,0],'ZOOM',[1,1]) 39 37 ; 40 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 38 ; @history 39 ; Sebastien Masson (smasson@lodyc.jussieu.fr) 41 40 ; 2000 07 03 41 ; 42 ; @version 43 ; $Id$ 44 ; 42 45 ;- 43 46 ;------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.