; szss96_init_freng.pro -- translated by f2idl ; using argument information from init_freng.f and init_freng_f.c ; and documentation information from init_freng.f ;+ ; NAME: ; szss96_init_freng ; ; PURPOSE: ; initialize FRENG common block ; CALLING SEQUENCE: ; szss96_init_freng ; ; SIDE EFFECTS: ; Sets FRENG common block ; MODIFICATION HISTORY: ; Written 2008 Nov 11 LAY ; : ; ;- PRO szss96_init_freng ; -------------------- This function name fcn = 'szss96_init_freng' ; -------------------- assign parameters (including dimensions) MCO = 25 ;------------------------- ; setup the output variables that will be passed to the fortran ; routine ;------------------------- ; check all variables if n_params() ne 0 then begin print,'szss96_init_freng: wrong number of arguments' return endif ;------------------------- ; Find root directory for library tname findpro, fcn, dirlist=dirlist, /noprint if dirlist[0] eq '' then root = '.' else root = dirlist[0] ;------------------------- ; CALL lib_name = root + '/szss96.so' entry_name = 'idl_ce_call_init_freng__' RESULT = CALL_EXTERNAL( lib_name, ENTRY_NAME, $ /verbose ) end