Cheque Edit & Roman Numerals SOLVED
Nelson Coleman
emerald at bright.net
Sat Apr 4 06:52:58 PDT 2015
I thank Richard and everyone else for the hints. It has been a long
time since I have altered EDIT so did not recognize the change. I found
after the ZERO edit, this:
zer1:(N N N N N&!00000!)|(N N N N&!0000!)|zer2
zer2:(N N N&!000!)|(N N&!00!)|(N&!0!)ROMAN:~ (N N N N & rom4) | (N N N &
rom3) | (N N & rom2) | (N & rom1)
instead of this (which I gleaned from another archived EDIT file:)
zer1:(N N N N N&!00000!)|(N N N N&!0000!)|zer2
zer2:(N N N&!000!)|(N N&!00!)|(N&!0!)
Somehow in my "fiddling" with EDITs, I used one with the "ROMAN" influence.
I just realized that the CARRIAGE RETURN was missing between the
"...(N&!0!)" and the "ROMAN...." . It was sloppy prior editing (on my
part?) which was not noticed until triggered by the call for the edit.
---
Nelson D. Coleman
Emerald Computer Systems
emerald at bright.net
On 4/3/2015 8:08 AM, Richard Kreiss wrote:
>
>> -----Original Message-----
>> From: Filepro-list [mailto:filepro-list-
>> bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Nelson Coleman
>> Sent: Thursday, April 02, 2015 5:05 PM
>> To: Filepro_List
>> Subject: Cheque Edit & Roman Numerals
>>
>> I have encountered a strange situation that I cannot explain. In filePro 5.0,
>> where I use the CHEQUE edit to print checks, the "written"
>> output has changed from Arabic numerals to Roman numerals, e.g.
>> "$374.39" prints the "written" part of the check as "CCCLXXIV*** zero
>> and 39/100 dollars *** ". My check global dummy field da picks up the
>> $ value from field 5 "da(80,cheque,g)=5" .
>>
>> The CHEQUE edit shows as "CHEQUE:[{!" "!}](zero|<*** > lots cents|<***
>> zero>cents)" and check2 as "chek2:( !0! | ones< hundred > ) ( !00! | (
>> !0! ones | tens ) )".
>>
>> Could I have a corrupted edit file or could this be related to field
>> length? Eighty seems adequate and this is a recent occurrence which may
>> have happened while I was fiddling with an client's older filePro. Any
>> thoughts?
>> ---
>> Nelson D. Coleman
>> Emerald Computer Systems
>> emerald at bright.net
> This is a copy of the CHEQUE edit as I have it:
>
> CHEQUE ◄[{!" "!}](zero|<*** > lots cents|<*** zero>cents)
> lots ◄(tr| hb | tb | bil | hm | tm | ml | ht | tt | thou | hun | tens | ones)
> tr ◄N N N N N N N N N N N N N & (!0! | ones< trillion >) hb
> hb ◄N N N N N N N N N N N N & (!000! | chek2 < billion > ) hm
> tb ◄N N N N N N N N N N N & ( !00! | ( (!0! ones | tens) < billion >)) hm
> bil ◄N N N N N N N N N N & (!0!|ones< billion >) hm
> hm ◄N N N N N N N N N & ( !000! | chek2 < million > ) ml2
> ml2 ◄ ( !000! | chek2 < thousand > ) chek2
> tm ◄N N N N N N N N & ( (!0! ml) | ( tens < million > ml2 ) )
> ml ◄N N N N N N N & (!0! | ones < million >) ml2
> ht ◄N N N N N N & ml2
> chek2 ◄( !0! | ones< hundred > ) ( !00! | ( !0! ones | tens ) )
> tt ◄N N N N N & (!00! | ( !0! ones | tens ) < thousand > ) (hun|tens|ones)
> thou ◄N N N N & (!0!| ones < thousand >)(hun | tens | ones)
> hun ◄N N N & (!0!|ones < hundred >) (tens | ones)
> ones ◄!0!|!1!<one>|!2!<two>|!3!<three>|!4!<four>|!5!<five>|!6!<six>|one2
> one2 ◄!7!<seven>|!8!<eight>|!9!<nine>
> tens ◄!10!<ten>|!11!<eleven>|!12!<twelve>|!13!<thirteen>|!14!<fourteen>|ten2
> ten2 ◄!15!<fifteen>|!16!<sixteen>|!17!<seventeen>|!18!<eighteen>|ten3
> ten3 ◄!19!<nineteen>|!20!<twenty>|!30!<thirty>|!40!<forty>|!50!<fifty>|ten4
> ten4 ◄!60!<sixty>|!70!<seventy>|!80!<eighty>|!90!<ninety>|ten5
> ten5 ◄(!0!|ten6 <"-">) ones
> ten6 ◄!2!<twenty>|!3!<thirty>|!4!<forty>|!5!<fifty>|!6!<sixty>|ten7
> ten7 ◄!7!<seventy>|!8!<eighty>|!9!<ninety>
> cents ◄< and > [!.!] num num </100 dollars ***>
> zero ◄zer1 <*** zero> !.! cents
>
> The edits may be dropping through to the Rom edit which are just below the zero edit.
>
> Make sure there is nothing after the **> in the zero edit.
>
>
> Richard Kreiss
> GCC Consulting
>
> Office: 410-653-2813
>
>
>
>
>
More information about the Filepro-list
mailing list