Home »
Public Forums »
archive »
For IDL and vgrind users: sample vgrindefs
For IDL and vgrind users: sample vgrindefs [message #5895] |
Mon, 26 February 1996 00:00 |
scotty
Messages: 3 Registered: September 1995
|
Junior Member |
|
|
Below is a sample vgrindefs that I've used recently to
snazz up the appearance of my code.
Usage: for IRIX 5.3, append to /usr/lib/vgrindefs (part of
Documenter's Workbench or roff). 'vgrind -t -lidl | lp'
Bugs noticed so far:
doesn't recognize the '=' sign in some of the keywords in the
pattern, and so will highlight both instances of the word
'font' in 'font=font'.
currently recognizes a minority of IDL commands and keywords.
Feedback with enhancements and corrections is requested.
---------------------------------------------------
IDL|idl: :pb=(function|pro)\d\p\d?\(\a?\):\
:bb=(function|pro)\d\p\d?\(\a?\):be=^(end |END ):\
:cb=;:\
:ce=$:\
:sb=('|"):\
:se=\e('|"):\
:oc:\
:kw=abs alog alog10 begin bytarr case close common congrid\
do device else elseif end endcase endelse endif endfor endwhile\
eof exit exp findgen fix fltarr for format function get_lun goto\
if intarr n_elements on_error openr openw print printf pro\
readf rebin return rotate size\
stop strarr string strlen strmid strtrim strupcase tag_names then transpose\
where while write_gif write_jpeg wset wshow\
and ne eq le lt ge gt\
widget_base widget_button widget_control widget_draw widget_droplist\
widget_info widget_label widget_list widget_text cw_field xloadct xmanager\
xregistered font= get_value= get_uvalue= group=\
set_value= set_uvalue= title= xsize= ysize=\
contour errplot plot findpath findfile oplot pickfile svdc svsol xsurface\
ncdf_close ncdf_dimid ncdf_diminq ncdf_exists ncdf_inquire\
ncdf_open ncdf_varid ncdf_varget ncdf_varinq \
dfsd_getdata dfsd_getinfo dfr8_getimage hdf_close hdf_open:
--
Scott J. McCue
Woods Hole Oceanographic Institution Clark 4th M/S 25
Marine Chemistry & Geochemistry smccue@whoi.edu
(508)289-3462 fax: (508)457-2193
professional: http://w3eos.whoi.edu/~scotty/smccue.html
personal: http://w3eos.whoi.edu/~scotty/SJM/scotty.html
|
|
|
Current Time: Wed Oct 08 13:56:33 PDT 2025
Total time taken to generate the page: 0.00532 seconds