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

Home » Public Forums » archive » Void functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Void functions [message #16468] Sun, 25 July 1999 00:00
jvkepner is currently offline  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 Go to previous message
davidf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3D image reconstruction from 2D pictures
Next Topic: Complex -> Real FFT

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

Current Time: Fri Oct 10 06:08:11 PDT 2025

Total time taken to generate the page: 0.96123 seconds