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 #70976 is a reply to message #70886] Tue, 18 May 2010 05:44 Go to previous messageGo to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 17/05/2010 2:49 PM, fgg wrote:
> 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.

:-) as in
xxx,a1,b1
xxx,a2,b2
?

Jean
PS: the true advantage of keywords is that they can be omitted
[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:21:38 PDT 2025

Total time taken to generate the page: 0.00422 seconds