the     %1-x is the nesting level, so if your called rmd file called 
another, the variable would be %1-2.





----- Original Message ----- 
From: "Coxen, Dayle" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, April 05, 2012 2:00 PM
Subject: [RBASE-L] - Passed Parameter Reference Name


I am using 9.1 (build 9.1.5.20317).

I recently found a use for passing parameters to an .RMD command file using 
the RUN command.
RUN ppsedit.rmd USING .vdate

The documentation for the Run Command says: "To reference the contents of 
these variables, preface the variable name with a dot (.); for example, set 
v1 =.%1."

This was not working for me.
So I traced the called .RMD file and displayed the passed parameter as a 
watch variable.
It showed up as %1-1 not %1 as I had expected.
When I changed my references to the passed variable to %1-1 it worked.

Am I missing something or is the documentation wrong?

Dayle Coxen
Florida DOT
(850) 410-5635


Reply via email to