Ignore:
Timestamp:
07/07/06 11:57:27 (18 years ago)
Author:
navarro
Message:

english and nicer header (1)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Utilities/xfile.pro

    r132 r133  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: xfile 
    65; 
    7 ; PURPOSE: affiche ds un widget un fichier ASCII. 
    8 ;          c''est la meme chose que xdisplaydife mais ici on l''utilise pour 
    9 ;          visualiser le contenu d''une procedure ou d''une fonction 
    10 ;          meme si elle n''est pas ds le repertoire courant (grace a !path) 
     6; @file_comments  
     7; display in a widget an ASCII file. 
     8; It is the same thing that xdisplaydife but here, we use it  
     9; to display the content of a procedure or of a function,  
     10; even if it is not in the current directory (thanks to the path). 
    1111; 
    12 ; CATEGORY: help 
     12; @categories utilities 
    1313; 
    14 ; CALLING SEQUENCE: xfile,'nom_fichier' 
     14; @param filename {in}{required} It is the name of the procedure or of the function  
     15;                    we want to display (with or without .pro at the end). 
    1516; 
    16 ; INPUTS: 
    17 ;        nom_fichier:le nom d''une procedure ou d''une fonction a 
    18 ;        visualiser avec ou sans le .pro a la fin 
     17; @keyword _extra used to pass your keywords 
    1918; 
    20 ; KEYWORD PARAMETERS:ceux de xdisplayfile 
     19; @examples xfile,'plt' 
    2120; 
    22 ; EXAMPLE:xfile,'plt' 
    23 ; 
    24 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 
     21; @history Sebastien Masson (smasson@lodyc.jussieu.fr) 
    2522;                       7/1/99 
    2623;                       6/7/1999: compatibilite mac et windows 
     24; 
     25; @version $Id$ 
     26; 
    2727;- 
    2828;------------------------------------------------------------ 
     
    3535pfile = strlowcase(filename) 
    3636; 
    37 ; il faut trouver le nom complet  
     37; we have to find the full name.  
    3838; 
    3939   if strpos(pfile,".pro") lt 0 then pfile=pfile+".pro"  
     
    5757   endrep until res[0] NE '' OR i EQ n_elements(pfile)  
    5858   if res[0] NE  '' then BEGIN 
    59 ; on ouvre le fichier ds un widget 
     59; we open the file in a widget 
    6060   xdisplayfile, pfile[i-1], _extra = ex 
    6161   ENDIF ELSE ras = report('le fichier demande n''existe pas...') 
Note: See TracChangeset for help on using the changeset viewer.