<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Utilities/

xfile.pro

display an ASCII file in a widget. It is the same thing that XDISPLAYFILE but here, we use it to display the content of a procedure or of a function located in the !path ".pro" suffix will be appended if needed.

topxfile Utilities Widget

xfile, filename, _EXTRA=_EXTRA

Parameters

filename        in required type: scalar string

It is the name of the procedure or of the function we want to display (with or without .pro at the end). FILENAME should be located in !path. ".pro" suffix will be appended if needed.

Keywords

_EXTRA       

Used to pass keywords to XDISPLAYFILE

Examples

IDL> xfile,'plt'

Version history

Version

$Id: xfile.pro 375 2008-08-08 15:55:40Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 7/1/99 6/7/1999: compatibility mac and windows

Known issues

Restrictions

Triggers the XMANAGER if it is not already in use.

Statistics

McCabe cyclic 5
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.