|
I admit I'm one of those, but trying to change.. lol.. that's normally the last thing on my mind, but I do WANT to change that habbit... it's almost as hard as quitting smoking.. <smile> But, I'm still wondering what may be going on with the %trim bif on this other machine... why it doesn't seem to be working. I can't recreate it anywhere. Could the 'Z' in the edit code portion be causing an issue? Someone mentioned maybe Z wasn't Z on that machine... I wasn't aware you could change what edit codes meant. :) Brad On Mon, 5 Jun 2006 09:04:04 -0500 "Bob Cozzi" <cozzi@xxxxxxxxx> wrote:
Joe, I see that casual use of %TRIM all over the place and people wonder why it doesn't work. I wish more people would habitually use %TrimR() and only use %trim() when they think about think about it first. Thanks. -Bob Cozzi www.iSeriesTV.com iPod your industry news instead of reading it. Coming June 2006 Ask your friends to tune into iSeriesTV.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta Sent: Monday, June 05, 2006 8:57 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: My dilemma with VARYING was ->RE: Error in %trim BIF with V5R3? Absolutely right, Bob. I was thinking about TrimR, because Aaron was asking about trailing blanks. I should have written: %LEN(x) = %len(%TrimR(x)) Which of course works fine. Thanks for pointing that out! JoeFrom: Bob Cozzi %LEN(x) = %len(%Trim(x)) is just wrong.-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
Bradley V. Stone BVS.Tools www.bvstools.com
As an Amazon Associate we earn from qualifying purchases.
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.