Is This a Bug?

George Simon george at worldest.com
Thu Sep 9 12:30:55 PDT 2004


I would have thought it would work the same both ways.
Maybe it cannot do math and you must provide the list of values?

George Simon (IT Department)
American River Logistics, LTD
614 Progress St.
Elizabeth, NJ  07205
Phone:(908)354-7746      Fax:(908)354-7491
mailto:george at worldest.com
http://www.americanriverintl.com/



-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of John Hemmer
Sent: Thursday, September 09, 2004 2:58 PM
To: filePro mailing list
Subject: Is This a Bug?

       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

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list