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

Home » Public Forums » archive » Re: Passing variables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Passing variables [message #55532 is a reply to message #55437] Thu, 23 August 2007 08:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jeffwax1@hotmail.com writes:

> In the help files the only examples I see of common blocks are inside
> procedures. Can I put them inside a function, or even my main
> program?

You can put them wherever you like. A function in IDL
is just a procedure that returns a specific value. Other
than that, they are identical in functionality, including
how you pass data into and out of them, etc.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading Landsat FAST data in ENVI
Next Topic: reading envi file in IDL

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

Current Time: Thu Oct 09 23:46:37 PDT 2025

Total time taken to generate the page: 0.56185 seconds