PRO initaliz,filters,modes,mpaths,firstchars ; ; This procedure sets up the string arrays needed in SHOW.PRO ; ; Set up OS-specific items @isitdos ; define and load filter name array filters=STRARR(10) OPENR,unit,idlroot+dd+'filters.doc',/GET_LUN & READF,unit,filters CLOSE,unit & FREE_LUN,unit ; also need string arrays for mode names and paths for images from ; various modes ; define and load mode name array modes=STRARR(6) OPENR,unit,idlroot+dd+'modes.doc',/GET_LUN & READF,unit,modes CLOSE,unit & FREE_LUN,unit ; define and load mode path array mpaths=STRARR(6) OPENR,unit,idlroot+dd+'mpaths.doc',/GET_LUN & READF,unit,mpaths CLOSE,unit & FREE_LUN,unit ; define and load array of image file name first characters firstchars=STRARR(6) OPENR,unit,idlroot+dd+'1stchars.doc',/GET_LUN READF,unit,firstchars & CLOSE,unit & FREE_LUN,unit RETURN END