source: trunk/procs/new_filename.pro @ 162

Last change on this file since 162 was 162, checked in by pinsard, 15 years ago

start to modify unformal header to idldoc 2. header syntax

File size: 321 bytes
Line 
1;+
2;
3; change grid_oldgrid by grid_newgrid
4;
5; @version
6; $Id$
7;
8;-
9FUNCTION new_filename, file_in, oldgrid, newgrid
10
11@common
12@com_eg
13
14   file_nam = strmid(file_in, 0,strpos(file_in, 'grid_')+5 )
15   file_out = file_nam+newgrid+strmid(file_in, strpos(file_in, 'grid_')+6, strlen(file_in)-1)
16   
17   return,  file_out
18
19END
Note: See TracBrowser for help on using the repository browser.