@PW Processing Syntax
Kenneth Brody
kenbrody at bestweb.net
Mon Mar 24 13:55:52 PDT 2008
Quoting Rodgers Hemer (Mon, 24 Mar 2008 13:29:43 -0700):
> I would appreciate some assistance with the syntax for @PW processing
> (fP5.0.14/SCO6.0). The help file seems to indicate that the variable
> field containing the value for "-rw" must be quoted. I need to run
> the process as a system command in dclerk which appears to make the
> quoting of the -rw value impossible. The entire command is:
>
> system "/u/appl/fp/dreport pslipd -f psform -a -v psformv -rw aa"
>
> Numerous attempts with various combinations of quotes, parens, etc
> have failed. Any suggestions?
There's nothing wrong with your statement above, assuming that you want
to pass the literal "aa" into @PW.
Going under the assumption that what you really want is to pass the
contents of field aa, you want something like:
system "/u/appl/fp/dreport pslipd -f psform -a -v psformv -rw '"
& aa & "'"
You can improve this a bit by not hard-coding the path to dreport:
system getenv("PFPROG") & "/fp/dreport pslipd -f psform -a -v
psformv -rw '"
& aa & "'"
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list