Ignore:
Timestamp:
07/21/06 14:47:49 (18 years ago)
Author:
navarro
Message:

english and nicer header (2a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/STRING/string2struct.pro

    r134 r142  
    1111 
    1212;+ 
    13 ; NAME: 
    14 ;       stringToStructure 
    1513; 
    16 ; PURPOSE: 
    17 ;       Takes an input string set up as keywords and returns an anonymous structure. 
    18 ;               This is particularly useful for taking keywords entered by a user in a text 
    19 ;               field and passing then to other routines. 
     14; @file_comments 
     15; Takes an input string set up as keywords and returns an anonymous structure. 
     16; This is particularly useful for taking keywords entered by a user in a text 
     17; field and passing then to other routines. 
    2018; 
    21 ; CATEGORY: 
    22 ;       Utility 
     19; @categories 
     20; Utility 
    2321; 
    24 ; CALLING SEQUENCE: 
    25 ;       extra=stringToStructure('xrange=[0,10],linestyle=2') 
    26 ;       plot,findgen(100),_extra=extra 
     22; @param STRVAL {IN}{REQUIRED} 
     23; String set up as keywords. Keywords require a little special treatment. Such as 
     24; plot,findgen(100),_extra=stringToStructure('title="testing"') 
    2725; 
    28 ; INPUTS: 
    29 ;       String set up as keywords. Keywords require a little special treatment. Such as 
    30 ;       plot,findgen(100),_extra=stringToStructure('title="testing"') 
     26; @RETURNS  
     27; This function returns the string as an anonymous structure. If an 
     28; error was found then this function returns a structure with a null field. 
    3129; 
    32 ; KEYWORD PARAMETERS: 
    33 ; 
    34 ;       None 
    35 ; 
    36 ; OUTPUTS: 
    37 ;       This function returns the string as an anonymous structure. If an 
    38 ;       error was found then this function returns a structure with a null field. 
    39 ; 
    40 ; COMMON BLOCKS: 
    41 ;       None. 
    42 ; 
    43 ; EXAMPLE: 
     30; @examples 
    4431;       The code below creates a widget that uses this routine. 
    4532;       pro tPlot,event 
     
    6249;       end 
    6350; 
    64 ; MODIFICATION HISTORY: 
     51; @history 
    6552;       Written by: 
    6653;       RLK, Ronn Kling Consulting. 
     
    6855;       www.rlkling.com 
    6956;               May, 1999 
     57; 
     58; @version 
     59; $Id$ 
     60; 
    7061;- 
    7162 
Note: See TracChangeset for help on using the changeset viewer.