Void functions [message #16468] |
Sun, 25 July 1999 00:00 |
jvkepner
Messages: 10 Registered: November 1995
|
Junior Member |
|
|
I assume it is impossible in IDL to create VOID functions,
i.e. something that could be used as follows:
my_function(x)
Instead of using the standard procedure call:
my_function,x
Thanks.
-Jeremy Kepner
jvkepner@astro.princeton.edu
|
|
|
Re: Void functions [message #16471 is a reply to message #16468] |
Sun, 25 July 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Jeremy Kepner (jvkepner@muse.Princeton.EDU) writes:
> I assume it is impossible in IDL to create VOID functions,
> i.e. something that could be used as follows:
>
> my_function(x)
>
> Instead of using the standard procedure call:
>
> my_function,x
What would be the point? And, anyway, typing the
procedure takes one less key stroke, reducing the
potential error by almost 10 percent. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|