Ignore:
Timestamp:
06/19/06 16:14:56 (18 years ago)
Author:
smasson
Message:

new compilation options (compile_opt idl2, strictarrsubs) in each routine

File:
1 edited

Legend:

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

    r106 r114  
    1616;- 
    1717PRO writebat, zbat, filename 
     18; 
     19  compile_opt idl2, strictarrsubs 
     20; 
    1821; basic checks 
    1922  IF n_params() NE 2 THEN BEGIN 
     
    6164    iformat = string('(', il3+2, 'i3)') 
    6265    FOR jj =  jpj2-1, 0, -1  DO BEGIN 
    63       zbati(0:il3) = zbat(il1:il2, jj) 
     66      zbati[0:il3] = zbat[il1:il2, jj] 
    6467      printf, iunit, FORMAT = iformat, jj+1, zbati 
    6568    END 
     
    7780  iformat = string('(', il3+2, 'i3)') 
    7881  FOR jj =  jpj2-1, 0, -1  DO BEGIN 
    79     zbati2(0:irest-1) = 0 
    80     zbati2(0:il3) = zbat(il1:il2, jj) 
     82    zbati2[0:irest-1] = 0 
     83    zbati2[0:il3] = zbat[il1:il2, jj] 
    8184    printf, iunit, FORMAT = iformat, jj+1, zbati2 
    8285  END 
Note: See TracChangeset for help on using the changeset viewer.