Ignore:
Timestamp:
03/21/07 18:18:44 (17 years ago)
Author:
pinsard
Message:

replace some print by some report in some .pro #2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ReadWrite/readoldopadistcoast.pro

    r232 r236  
    8080   iname_file = findfile(filename) 
    8181   if iname_file[0] EQ '' then begin 
    82       print, 'Bad file name' 
     82      ras = report( 'Bad file name') 
    8383      return, -1 
    8484   ENDIF ELSE iname_file = iname_file[0] 
     
    103103   size = numrec*reclen-toomuch 
    104104   if size NE filepamameters.size then begin 
    105       print, 'The size of the file is not the expected one!' 
    106       print, 'Check your file or the values of ibloc, jpiglo,' 
    107       print, 'jpjglo, jpk, jpbyt, numrec in this program' 
     105      ras = report( 'The size of the file is not the expected one!') 
     106      ras = report( 'Check your file or the values of ibloc, jpiglo,') 
     107      ras = report( 'jpjglo, jpk, jpbyt, numrec in this program') 
    108108      return, -1 
    109109   endif 
     
    116116   readu, numcost, iimlu, ijmlu, ikmlu 
    117117   if iimlu NE jpiglo then begin 
    118       print, 'iimlu = '+strtrim(iimlu, 1)+' differs from jpiglo ='+strtrim(jpiglo, 1) 
     118      ras = report( 'iimlu = '+strtrim(iimlu, 1)+' differs from jpiglo ='+strtrim(jpiglo, 1)) 
    119119      return, -1 
    120120   endif 
    121121   if ijmlu NE jpjglo then begin 
    122       print, 'ijmlu = '+strtrim(ijmlu, 1)+' differs from jpjglo ='+strtrim(jpjglo, 1) 
     122      ras = report( 'ijmlu = '+strtrim(ijmlu, 1)+' differs from jpjglo ='+strtrim(jpjglo, 1)) 
    123123      return, -1 
    124124   endif 
    125125   if ikmlu NE jpk then begin 
    126       print, 'ikmlu = '+strtrim(ikmlu, 1)+' differs from jpk ='+strtrim(jpk, 1) 
     126      ras = report( 'ikmlu = '+strtrim(ikmlu, 1)+' differs from jpk ='+strtrim(jpk, 1)) 
    127127      return, -1 
    128128   endif 
Note: See TracChangeset for help on using the changeset viewer.