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/STRING/strkeywd.html

    r338 r402  
    145145 
    146146          <h3>Examples</h3><div class="preformat"> 
    147  We create a structure 
    148        IDL> b=get_extra(ok=111, year=[1997,1998,1999], age_capitaine=35) 
    149        IDL> help, b,/struct 
     147 
     148 We create a structure: 
     149   IDL> b=get_extra(ok=111, year=[1997,1998,1999], age_capitaine=35) 
     150   IDL> help, b,/struct 
    150151       ** Structure <817f4bc>, 3 tags, length=10, refs=1: 
    151152          AGE_CAPITAINE   INT             35 
    152153          OK              INT            111 
    153154          YEAR            INT       Array[3] 
    154  We put this structure as a string 
    155        IDL> a=strkeywd(b) 
    156        IDL> print, a 
     155 
     156 We put this structure as a string: 
     157   IDL> a=strkeywd(b) 
     158   IDL> print, a 
    157159       AGE_CAPITAINE=35, OK=111, YEAR=[1997,1998,1999] 
     160 
    158161 Now we can use the string a to pass keywords in a function thanks to execute!! 
    159        IDL> test=execute('c=get_extra('+a+')') 
    160        IDL> help, c,/struct 
     162   IDL> test=execute('c=get_extra('+a+')') 
     163   IDL> help, c,/struct 
    161164       ** Structure <817f2dc>, 3 tags, length=10, refs=1: 
    162165          AGE_CAPITAINE   INT             35 
     
    167170           
    168171          <h4>Version</h4><div class="preformat"> 
    169  $Id: strkeywd.pro 325 2007-12-06 10:04:53Z pinsard $ 
     172 $Id: strkeywd.pro 372 2008-08-08 12:31:53Z pinsard $ 
    170173</div> 
    171174          <h4>History</h4><div class="preformat"> 
     
    180183           
    181184          <h4>Restrictions</h4><div class="preformat"> 
    182  If an element of the structure contain an array, it will be convert in a vector. 
    183  
    184  
    185  Beware, this function has loops, ifs ad cases everywhere. So it can  
     185 If an element of the structure contain an array, it will be convert in a  
     186 vector. 
     187 
     188 
     189 Beware, this function has loops, ifs and cases everywhere. So it can  
    186190 not be used by big keywords (with a lot of elements which are big  
    187191 arrays). The input keyword must not contain Complex floatings, structure,  
Note: See TracChangeset for help on using the changeset viewer.