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/tostr.pro

    r134 r142  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: tostr (to string) 
    65; 
    7 ; PURPOSE: convertit un input en un string. 
     6; @file_comments 
     7; Convert an input in a string. 
    88; 
    9 ; CATEGORY:  
     9; @categories  
    1010; 
    11 ; CALLING SEQUENCE: res=tostr(input) 
    12 ;  
    13 ; INPUTS: input ne peut pas contenir ou etre de type: 
     11; @param INPUT {in}{required} 
     12; input can not contain or be of the type of: 
    1413; 
    1514;   Complex floating, structure, Double-precision complex, Pointer, Object 
     
    1716;   Integer, Unsigned 64-bit Integer     
    1817; 
    19 ; KEYWORD PARAMETERS: none 
     18; @returns 
     19; a string 
    2020; 
    21 ; OUTPUTS: un string 
     21; @restrictions 
     22; If keywdvalue is an array, it will be convert in a vector. 
    2223; 
    23 ; COMMON BLOCKS: 
    24 ; 
    25 ; SIDE EFFECTS: 
    26 ; 
    27 ;   Si un element de input contient un tableau, il sera 
    28 ;   convertit en vecteur. 
    29 ; 
    30 ; RESTRICTIONS: 
    31 ; 
    32 ;   attention cette fonction comporte des boucles, des if et des cases 
    33 ;   ds tous les sens. Elle ne doit donc pas etre utilisee avec des 
    34 ;   inputs de grosse taille (avec bcp d''elements et avec des 
    35 ;   elements etant de gros tableaux). 
    36 ; EXAMPLE: 
     24; @restrictions 
     25; Beware, this function has loops, ifs ad cases everywhere. So it can  
     26; not be used by big keywords (with a lot of elements which are big  
     27; arrays). 
     28;  
     29; @examples 
    3730;    IDL> help, tostr(1),tostr('a'),tostr(indgen(4)),tostr(['a','jkfjo']) 
    3831;    <Expression>    STRING    = '1' 
     
    4336;    ['c''est bon','c''est bon'] 
    4437; 
    45 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     38; @history 
     39; Sebastien Masson (smasson@lodyc.jussieu.fr) 
    4640;                      18/10/1999 
     41; 
     42; @version 
     43; $Id$ 
     44; 
    4745;- 
    4846;------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.