Commit cd76e11071353f8e9f72f09ad24d1e8421175dec

Authored by Annie Hughes
1 parent 6735604d
Exists in master

first commit

Showing 1 changed file with 17 additions and 0 deletions   Show diff stats
src/idl/dustem_show_sysvar.pro 0 → 100644
... ... @@ -0,0 +1,17 @@
  1 +pro dustem_show_sysvar,file=file
  2 +
  3 + if keyword_set(file) then OPENW, 2, file
  4 +
  5 + help,/sys,out=sysvar
  6 + for i=0,n_elements(sysvar)-1 do begin
  7 + this_line=strsplit(sysvar[i],"!",/ext)
  8 + for j=0,n_elements(this_line)-1 do begin
  9 + print,"!"+this_line[j]
  10 + if keyword_set(file) then printf,2,"!"+this_line[j]
  11 + endfor
  12 +
  13 + endfor
  14 +
  15 + if keyword_set(file) then close, 2
  16 +
  17 +end
... ...