× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Booth

I think this has always been this way - there was a thread recently that told people to use the S instead of Y, as I recall, to take care of exactly the situation you describe.

Now it's early and it might have been just the opposite! Memory fails me!

Vern

On 12/8/2010 8:43 PM, Booth Martin wrote:
I am not sure that what I am seeing is what I think I am seeing. Maybe
it has always been like this, but this seems like new behavior.

I have a DSPF with a 5/0 in a numeric field.**
**
ADDDAYS 5Y 0B 16 19EDTCDE(N)**
**
It worked just fine, and when Enter(-) was keyed, I would see the } at
the right side. It is what I expected.

I then changed a line of code up above, unrelated to this field, and the
screen would no longer compile. I tried various EDTCDE()s and finally,
in desperation I tried**

**ADDDAYS 5S 0B 16 19

Well didn't my socks fall off! It compiled fine, then I tried it out
and Enter(-) gave me the field with the number followed by an ordinary
minus sign ( no } ). It had not been processed; it behaved just like it
always has, except for displaying the number properly.

Has it always been like this, and I didn't realize it?

http://www.martinvt.com/Code_Samples/Date_Math/date_math.html is where
it happened, if you want to look at it

****


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.