comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Pri
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Pri [message #69914] Thu, 25 February 2010 06:53
Lasse Clausen is currently offline  Lasse Clausen
Messages: 22
Registered: August 2001
Junior Member
Hi there,

I have written a little routine that prints out the usage of routines/
procedures written in IDL on the command line. Like so:

IDL> pri, 'reverse'
+---+
Function REVERSE
Usage:
Result = REVERSE(A, SUBSCRIPTIN, OVERWRITE=OVERWRITE)
Source:
/usr/local/itt/idl/lib/reverse.pro
+---+

or

IDL> pri, 'pri'
+---+
Procedure PRI
Usage:
PRI, ROUTINE_NAME, NO_COMPILE=NO_COMPILE, SOURCE_FILE=SOURCE_FILE,
USAGE=USAGE
Source:
/davit/lib/vt/idl/misc/pri.pro
+---+

I find this routine incredibly helpful as it allows me to check how to
use routines without having to leave the IDL command line.

If you are interested, you can download it here: http://sd-work5.ece.vt.edu/pri.pro

Cheers
Lasse Clausen
[Message index]
 
Read Message
Previous Topic: Windows file redirection and pipe operations
Next Topic: 0=1 (Double precision/Long64)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:37:53 PDT 2025

Total time taken to generate the page: 1.23056 seconds