Looks like the docs are incorrect SET V1 = .%1 will not work
SET VAR V1 = .%1 will work Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath Sent: Thursday, April 05, 2012 1:33 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Passed Parameter Reference Name This works for me SET VAR v1 DATE = .%1 --drop all % variables CLEAR VAR __-_ Always clear your % variables after assigning them This will assure no type conflicts when passing a different type to another command file. Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Coxen, Dayle Sent: Thursday, April 05, 2012 1:00 PM To: RBASE-L Mailing List 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

