problem with eom()

Richard Kreiss rkreiss at gccconsulting.net
Mon Oct 27 21:56:36 PDT 2014



Richard
Sent from my iPhone

> On Oct 27, 2014, at 11:48 PM, Kenneth Brody <kenbrody at spamcop.net> wrote:
> 
>> On 10/27/2014 10:36 PM, Richard Kreiss wrote:
>> filePro 7.7.03.06
> 
> Assuming you meant "5.7.03.06"
> 
>> declare ExpDate(10,mdyy/)
>> 
>> foobar(120 = 10 (October)
> 
> Assuming you meant:
> 
>    foobar(12) = 10
> 
>> foobar(13) - 2013
> 
> Assuming you meant:
> 
>    foobar(13) = 2013
> 
>> ExpDate=foobar(12){"/01/"{foobar(13)
>> 
>> Expect ExpDate = "10/31/2013"
> 
> I would expect "10/01/2013".
> 
>> In my processing coming up as "10/31/2014"
> 
> Show the actual processing.
> 
>> Has anyone else seen this problem.  This occurs with EOM();  When I put
>> this into a msgbox without eom the date displays correctly.  Use EOM and
>> it adds a year to that number.
> 
> I see no "EOM" in the above code.
> 
> Ok, Ken, I left out
Eom(foobar(12){"/01/"{foobar(13))

The result should be in year 2013. It comes 2014.

I just wanted to know if anyone else experienced this problem. 

Richard. 


More information about the Filepro-list mailing list