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 #89263 is a reply to message #89262] Sun, 10 August 2014 19:32 Go to previous messageGo to previous message
tryanblogs is currently offline  tryanblogs
Messages: 3
Registered: August 2014
Junior Member
Matthew,

Thank you for your response. I'm not sure this will perform the desired action. I apologize if I'm missing something obvious, but passing values in a procedure call doesn't seem to accomplish what I'm trying to do. In the program I am attempting to write, the variables that will be assigned values from command line arguments are not predetermined and will vary with each case, so I don't think passing values through procedure arguments will work. Is it possible to assign variables in Pro1 with command line argument values from Pro2 using object references?

In java, it would look something like this:

Class Pro2 {
Pro1 My = new Pro1()
My.Pro1variable = command_line_args
}

where My is the object reference of Pro1 and the Pro1variable is given the value of the command line inputted in Pro2.
[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: Sat Apr 04 14:12:18 PDT 2026

Total time taken to generate the page: 0.24241 seconds