Passing Parameter to r-code

frafati

New Member
Hello all,

Is it possible to pass parameter to a procedure when it is invoked outside progress as:
...\prowin32.exe MyR-CodeFile.r <parameter>

Thanks in advance. :)
 
Well, it took a bit of time for me to find the answer to my question. And here is the answer:

1- Make the call like this
...\prowin32.exe MyR-CodeFile.r -param MyParameter<A parameter string>
2- In MyR-CodeFile use the value of SESSION:PARAMETER. In this case it will contain MyParameter


Originally posted by frafati
Hello all,

Is it possible to pass parameter to a procedure when it is invoked outside progress as:
...\prowin32.exe MyR-CodeFile.r

Thanks in advance. :)
 
Back
Top