|
True I noticed that after I sent it but....I'm only inhuman... Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx Sent: Wednesday, December 21, 2005 11:04 AM To: RPG programming on the AS400 / iSeries Subject: RE: SFL Display issue In that case instead of > Eval displayfield = %subst(myfield:1:17); use > Eval displayfield = %subst(myfield:1:%len(displayfield)); That way, if you increase the size of the display field, you simply recompile and do not have to determine why '17' was used. Rob Berendt
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.