Ignore:
Timestamp:
03/19/07 18:15:51 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Obsolete/strrepl.pro

    r192 r231  
    1 ;------------------------------------------------------------- 
    21;+ 
    32; 
    4 ; @file_comments  
     3; @file_comments 
    54; replace one (or more) character(s)/string(s) in a string 
    6 ; --- OBSOLETE --- you should better use strsed.pro 
     5; --- OBSOLETE --- you should better use <pro>strsed</pro> 
    76; 
    87; @categories 
     
    2120; another string 
    2221; 
    23 ; @restrictions  
     22; @restrictions 
    2423; Known shortcoming: if index is an array, it must contain all 
    2524; valid elements (only the first entry is checked). 
     
    4948; @history 
    5049;        mgs, 02 Jun 1998: VERSION 1.00 
    51 ;        sebastien Masson (smlod\@ipsl.jussieu.fr) 
    52 ; 
    53 ; @version 
    54 ; $Id$ 
    55 ; 
    56 ;- 
    5750; Copyright (C) 1998, Martin Schultz, Harvard University 
    5851; This software is provided as is without any warranty 
     
    6457; Bugs and comments should be directed to mgs@io.harvard.edu 
    6558; with subject "IDL routine strrepl" 
    66 ;------------------------------------------------------------- 
    67  
    68  
     59; 
     60;        sebastien Masson (smlod\@ipsl.jussieu.fr) 
     61; 
     62; @version 
     63; $Id$ 
     64; 
     65;- 
     66; 
    6967function strrepl,str,arg2,rchar 
    7068; 
    7169  compile_opt idl2, strictarrsubs, obsolete 
    7270; 
    73     
     71 
    7472   if (n_elements(str) eq 0) then return,'' 
    75     
     73 
    7674                                ; convert strign and replace character to byte 
    7775   BStr = byte(str) 
     
    110108                                ; return result as string 
    111109   return,string(BStr) 
    112     
     110 
    113111end 
Note: See TracChangeset for help on using the changeset viewer.