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

Home » Public Forums » archive » calling functions directily
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
calling functions directily [message #90969] Tue, 19 May 2015 09:13 Go to next message
Nikola is currently offline  Nikola
Messages: 53
Registered: November 2009
Member
I have just typed by mistake

IDL> size(variable)

without PRINT (with the variable previously defined, but irrelevant) and IDL gave me correct answer. So I tried it with some other intrinsic functions (MEAN, SIN, etc) and it worked. I tried it with my own function and it still works.

Since when it is possible to call functions like that? Is there some info available on this feature?

Here I have only: IDL Version 8.4 (linux x86_64 m64)
Re: calling functions directily [message #90970 is a reply to message #90969] Tue, 19 May 2015 09:18 Go to previous messageGo to next message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, May 19, 2015 at 6:13:46 PM UTC+2, Nikola Vitas wrote:
> I have just typed by mistake
>
> IDL> size(variable)
>
> without PRINT (with the variable previously defined, but irrelevant) and IDL gave me correct answer. So I tried it with some other intrinsic functions (MEAN, SIN, etc) and it worked. I tried it with my own function and it still works.
>
> Since when it is possible to call functions like that? Is there some info available on this feature?
>
> Here I have only: IDL Version 8.4 (linux x86_64 m64)

http://www.exelisvis.com/docs/Whats_New_8_3.html

It's called implied print.

http://www.exelisvis.com/docs/ImpliedPrint.html

Cheers,
Helder
Re: calling functions directily [message #90971 is a reply to message #90970] Tue, 19 May 2015 09:39 Go to previous message
Nikola is currently offline  Nikola
Messages: 53
Registered: November 2009
Member
Thanks, Helder. I completely missed this one.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: help with write_gif - Image must be a byte matrix.
Next Topic: Accessing class structure fields outside the class

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

Current Time: Wed Oct 08 11:53:50 PDT 2025

Total time taken to generate the page: 0.00330 seconds