where's the logic?
Brian K. White
brian at aljex.com
Fri Aug 4 16:21:24 PDT 2017
On 8/4/2017 7:02 PM, Jean-Pierre Radley via Filepro-list wrote:
> 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?
>
>
The first character of A is " "
You want a{"" eq " ", or compare()
--
bkw
More information about the Filepro-list
mailing list