× 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.

This thread ...

Follow-Ups:
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.