May the Lord comfort you in your loss.
I looked in what I think is the latest user guide, but TEST-FORMATTED-DATE isn't described. There is a reference to TEST-FORMATTED-DATETIME, but no description on how to use it. https://open-cobol.sourceforge.io/guides/GnuCOBOL%202.2%20NOV2017%20Programmers%20Guide%20(A4).pdf If we should be encouraged to use it, then I should open a ticket to have it added to the manual. Also, the tp.cob program shows this. $--,---.-- <== PIC $ $ 12.34 $ $-12.34 The currency sign is floating, even though it is only...
Ok I'll wait for a fix. Not a big rush for me.
Does that mean one has to test for numeric before testing with test-date-yyyymmdd? I would think test-date-yyyymmdd would do all of that, and correctly return 1 if not numeric. If numeric test is needed first, then the manual needs to be beefed up a bit.
Running tests on trunk. Only a few minor issues. Otherwise, it's looking good. The test-date-yyyymmdd is returning ok even when the day is blank. Then locale-date returns some bogus date. The pic is treating the $ like a floating, even when it only takes one position in the pic.
Running tests on trunk. Only a few minor issues. Otherwise, it's looking good. The test-date-yyyymmdd is returning ok even when the day is blank. Then locale-date returns some bogus date. The pic is treating the $ like a floating, even when it only takes one position in the pic.
Running tests on trunk. Only a few minor issues. Otherwise, it's looking good. The test-date-yyyymmdd is returning ok even when the day is blank. Then locale-date returns some bogus date. The pic is treating the $ like a floating, even when it only takes one position in the pic.
This won't compile in trunk. Something about variable length limits not defined.