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



CatPath += ('cat=' + %char(CatArr(i)) + '&');

I like using this syntax along with VARYING fields (for all of the obvious
reasons), but the thing I struggle with is when I need to be ensured that
something does not have trailing blanks (e.g. concatenating a IFS stream
file path). This seems to be the case more often than not.  A lot (nearly
all) of my development is done with RPG ILE service program sub procs. So I
am constantly providing interfaces to other programmers.  I am not so
worried about them implementing the interface correct (i.e. using VARYING in
their programs), but more so that they aren't ensuring the absence of blanks
in strings before they pass them on to sub procs I create. Sure I could just
insert a few more %TRIM's here and there to bullet proof my programs, but
then I just lost some of the benefit I was trying to gain.



Just wondering what other's thoughts are on this matter.

Aaron Bartell


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.