declare problem
Walter Vaughan Jr
wvaughan at steelerubber.com
Mon Jan 10 13:33:41 PST 2022
Did this ever work? You are doing math on a text string. I'm not writing filePro code as often as I used to, but it seems like you shouldn't be able to do that without casting it from text to something numeric first.
-----Original Message-----
From: Filepro-list <filepro-list-bounces+wvaughan=steelerubber.com at lists.celestial.com> On Behalf Of Richard Kreiss via Filepro-list
Sent: Monday, January 10, 2022 1:14 PM
To: fpsupport at fptech.com
Subject: declare problem
I have a -v select process which sets a global field "highdate which is declared as(10,mdy/,g) highdate= "12/'31/{getenv("pfcmark")-"1") highdate is blank I have declared mark(2,*,g) and set that to getenv("pfcmark")-"1" and that is set.
Note that if highdate="" and mark ne ""
Then: Highdate="12/31/"{mark.
Highdate should be set to 12/31/2029 but is blank. This programming line comes before line 1 of this email.
If: highDate = ""
Then: highdate="12/31/20"{getenv("pfcmark)"-"1". Highdate is still empty. Why?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15032 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20220110/cf7ee40f/attachment.bin>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list