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

Home » Public Forums » archive » Error handling by build-in IDL routines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Error handling by build-in IDL routines [message #14664] Mon, 15 March 1999 00:00 Go to previous message
Frank Holland is currently offline  Frank Holland
Messages: 3
Registered: March 1999
Junior Member
Hi!

I have a question about error handling by build-in IDL routines.
Consider the following example:

fritz = 'the cat'
print, median(fritz)

IDL replies with:
% MEDIAN: Expression must be an array in this context: FRITZ.
% Execution halted at: $MAIN$

My question:
How does the function MEDIAN knows the name of the parameter (i.e.
FRITZ) I passed into it? How can I implement this functionality into my
own IDL routines?

Thanks for any suggestions,

Frank
[Message index]
 
Read Message
Read Message
Previous Topic: overlay vectors
Next Topic: Writing on X without X device (!)

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

Current Time: Thu Oct 09 20:40:05 PDT 2025

Total time taken to generate the page: 1.43620 seconds