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/buildinit.pro

    r76 r114  
    7272    XSIZE=XSize, YSIZE=YSize, UNAME=uname 
    7373;   FLOOR=vmin, CEILING=vmax  
     74; 
     75  compile_opt idl2, strictarrsubs 
     76; 
    7477  resolve_routine, 'cw_field', /compile_full_file, /is_function 
    7578    ;   Examine our keyword list and set default values 
     
    140143PRO printerdef_event, event 
    141144; get back the ids of the cw_field widgets 
     145; 
     146  compile_opt idl2, strictarrsubs 
     147; 
    142148  widget_control, event.id, get_uvalue = cwids 
    143149  IF size(cwids, /n_dimensions) EQ 1 THEN cwids = reform(cwids, 3, 1) 
     
    170176PRO papsize_event, event 
    171177; get back the ids of the cw_field widgets 
     178; 
     179  compile_opt idl2, strictarrsubs 
     180; 
    172181  widget_control, event.id, get_uvalue = uvalue 
    173182  IF uvalue[0] NE 'ok' THEN return 
     
    190199PRO xask_event, event 
    191200; now we give the answer to buildinit.pro by using the pointer uvalue 
     201; 
     202  compile_opt idl2, strictarrsubs 
     203; 
    192204   widget_control, event.top, get_uvalue = ptranswer 
    193205   *ptranswer = event.value 
     
    201213; 
    202214FUNCTION xask, _extra = ex 
     215; 
     216  compile_opt idl2, strictarrsubs 
     217; 
    203218  base = widget_base()  
    204219  field = cw_field2(base, /frame, /return_events, /column, _extra = ex)  
     
    218233; 
    219234FUNCTION getdir, title = title, nomark = nomark, nowrite = nowrite 
     235; 
     236  compile_opt idl2, strictarrsubs 
     237; 
    220238   
    221239  REPEAT BEGIN 
     
    235253; 
    236254PRO buildinit 
     255; 
     256; 
     257  compile_opt idl2, strictarrsubs 
    237258; 
    238259  IF fix(strmid(!version.release, 0, 1)) LT 6 THEN BEGIN  
Note: See TracChangeset for help on using the changeset viewer.