Blame view

src/idl/dustem_show_sysvar.pro 397 Bytes
cd76e110   Annie Hughes   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pro dustem_show_sysvar,file=file

  if keyword_set(file) then OPENW, 2, file
  
  help,/sys,out=sysvar
  for i=0,n_elements(sysvar)-1 do begin
     this_line=strsplit(sysvar[i],"!",/ext)
     for j=0,n_elements(this_line)-1 do begin
        print,"!"+this_line[j]
        if keyword_set(file) then printf,2,"!"+this_line[j]
     endfor
     
  endfor

     if keyword_set(file) then close, 2

end