Is This a Bug?

John Hemmer hemmerjohn at hotmail.com
Thu Sep 9 11:58:24 PDT 2004


       The following code:

       Then:  A(3,.0)="25"
       Then:  B(3,.0)=MAX( "1", A-"8" )
       Then:  C(3,.0)=A-"8"
       Then:  D(3,.0)=MAX("1",C)
       Then:  SHOW "A="{A<"B="{B<"C="{C<"D="{D

        Gives the following result:

                                A=25 B=1 C=17 D=17

       If I enclose A-"8" in parenthesis such as:

       Then:  B(3,.0)=MAX( "1", (A-"8") )

        I get the same result.  I would think that I should get
        a value of 17 for B.

        I am compiling with rcabe version 5.0.13.R4

        I get the same result using both rclerk and dclerk.

        John



More information about the Filepro-list mailing list