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

Home » Public Forums » archive » SAVE
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: SAVE [message #70982 is a reply to message #70886] Mon, 17 May 2010 11:49 Go to previous messageGo to previous message
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
On May 14, 3:53 pm, jeanh
<jghasb...@DELETETHIS.environmentalmodelers.ANDTHIS.com> wrote:
>  >One of the suggestions I
>
>> got was to include parameters in my procedure, define the variables
>> within the procedure, and then call it specifying the parameters
>> similarly on the command line. Something like this:
>
>> pro xxx, a=a, b=b, c=c
>
> as a matter of fact, a,b,c are keywords here. You can also simply do
>
> pro xxx, a,b,c
>
> Jean


That's true. The advantage of using a=a,b=b,... is that I can easily
change the name of the variables if I need to:

IDL> xxx, a=a1, b=b1
IDL> xxx, a=a2, b=b2

Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I open an ENVI Vector File (EVF) in batch mode?
Next Topic: LEGEND and Symcat - part 2

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

Current Time: Wed Oct 08 19:37:02 PDT 2025

Total time taken to generate the page: 0.00441 seconds