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



Hi Booth

I think you'd want that - except for only one blank in 'Mr ' - trailing blanks in a literal are part of the string, even though it is processed as a varying length, basically.

Vern

On 2/22/2013 11:37 AM, Booth Martin wrote:
If one wanted "Mr Vernon Hamberg" instead of "MrVernon Hamberg", would
one want:

webDta += "Mr " + varyingLengthVar;

?


On 2/22/2013 10:07 AM, Vernon Hamberg wrote:
Dale

Very cool.

Just as a reminder, when you concatenate varying length values, you
don't need the %trim at all. So you have this -

webDta += varyingLengthVar;

instead of -

webDta += %trim(varyingLengthVar);

It's a wonderful new world of RPG, eh?

Vern

On 2/22/2013 9:09 AM, dale janus wrote:
Varying-length variables will perform better than fixed-length ones,
Vern,

Thanks for the info on varying length being easier than it seems.


I can see future use of varying for creating HTML strings as you
indicated. Right now the few times we need to do it are in CL (which can
get ugly)


But I will keep your ideas in mind when we get to the rpg stage.

---Dale


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.