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

Home » Public Forums » archive » Assigning command line arguments to variables in another procedure
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: Assigning command line arguments to variables in another procedure [message #89262 is a reply to message #89261] Sun, 10 August 2014 16:12 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
How about this?

IDL> myPro1, 'This is my argument.'
In myPro1
In myPro2
This is my argument.

----------------------------------

pro myPro2, value
print, 'In myPro2'
print, value
end

pro myPro1, input_from_command_line
print, 'In myPro1'
myPro2, input_from_command_line
end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgBoxPlot - not a useful function!!!
Next Topic: updated "Using Python From IDL" ebook

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

Current Time: Tue Apr 14 07:24:15 PDT 2026

Total time taken to generate the page: 2.80170 seconds