×
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.
D wString s 30 varying
nField = -123456.78;
wString = 'You owe: ' + %editc(nField: 'N');
dsply wString;
wString = 'You owe: ' + %char(nField);
Here are the results of the above code:
DSPLY You owe: -123,456.78
DSPLY You owe: -123456.78
I like commas, and I also like %editw() for special cases. I believe we
are limited with what we can provide users but I do want to at least
give em what we got, especially when it is so easy. Besides, if this
really was about a money-owed figure, I would probably prefer "CR" to a
minus sign.
errr.... I like scroll bars too. And check boxes & radio buttons. They
are easy to program and easier to use. They are intuitive. Yes, green
screen is going away but until it does, why not use what we've got?
(I believe I am about to learn something I should already know. But
hey, I will learn from Scott any day, and thank him for it.
On 8/13/2013 5:19 PM, Scott Klement wrote:
Do you have a reason that you prefer %trim(%editc(field:'N')) over
%char()? %char seems a lot simpler and more elegant to me.... but
maybe there's something else to edit code N that I'm missing...
As an Amazon Associate we earn from qualifying purchases.