Hello,
I encounter a problem in IDL programing.
I use ENVI_OPEN_FILE, inputfilename, r_fid = t_fid
and I "help t_fid"
T_FID LONG = Array[3]
and I "print t_fid"
32 12 2
if (t_fid eq -1) then begin
IDL tell me expression mus be a scalar or 1 element arra in this context:
below is from the HELP ENVI_OPEN_FILE
fname = '/data/img_001'
envi_open_file, fname, r_fid=fid
if (fid eq -1) then return
envi_file_query, fid, dims=dims, nb=nb
why this happened , what should I do?
|