where's the logic?

Jean-Pierre Radley appl at jpr.com
Sat Aug 5 10:26:57 PDT 2017


Jean-Pierre Radley averred (on Fri, Aug 04, 2017 at 07:02:13PM -0400):
| Something is rusty, perhaps my brain...
| 
| I want to end processing if field A(12,$) is blank or equal to 0.
| 
| Field A has a value of $27.84 but the test says it doesn't.
| 
| This is what I see while debugging:
| 
|  - True ---------------------------------------------------- Prc. Name: aging -
|          If:  a eq " " or a eq "0"
|      9 Then:  end
|  Enter Field > a             |      $27.84|
| 
| How can the test return "True" when A has a good value?
| 
| -- 
| JP


Thanks for all the Naval Jelly, it took care of the rust.  :-)

All is much clearer when I use this  code:
 
         If:
       Then: y(12,$)=""; z(12,$)="0"

         If: a eq y or a eq z
       Then: end

-- 
JP


More information about the Filepro-list mailing list