Bug?

Kenneth Brody kenbrody at bestweb.net
Sat Sep 11 14:57:41 PDT 2004


George Simon wrote:
> 
> On the following line:
> 
> system "\fp\rclerk gfokname -sanc -xa -d -r"<1<"-rw"<2
> 
> @pw will truncate the value in field 2 if there is a comma in it.
> 
> For example, if field 2 contains: Simon, George
> @pw will only pass Simon,
> but if field 2 contains George Simon
> @pw will pass the entire value.

I wouldn't expect either to work, as they both have a space within field 2,
making the command line:

    \fp\rclerk gfokname -sanc -xa -d -r field_1 -rw George Simon

(where "field_1" is the value in field 1)

which would cause @PW to contain "George", not "George Simon".  You need
to make sure you enclose the value within quotes.

Are you sure that the second case works?  Are you sure there is a space
between "George" and "Simon"?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list