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



Non-technically, it'd be easier to use %EditW.   
 
The original questioner asked to do it without an edit word but these
solutions being offered suggest that %EditW was a real good addition to the
%BIF Library.  
 
At this point I am wondering why the request to avoid an edit word?  I
wonder if the requestor had overlooked %EditW when he wrote his e-mail?
 
Along this line of inquiry I've found a problem I don't know how to resolve.
 It has to do with the leading zeros.  One places the 0 in the edit word in
the column to the left of where the leading zeros are to start as I
understand it.  How does one get a leading zero in the very first column, as
there is no position to the left of it.
 
 
 
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: Monday, April 21, 2003 13:38:21
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: %char in /free
 
Technically, neither of these work since figurative constants aren't 
allowed with the catenation operator. Ideally, you should have some 
solution that's independent of both the target of the assignment 
aand the size of the numeric variable.
 
Cheers! Hans
 


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.