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



You have to use an edit word in the "O" specs to get around RPG's automatic
padding...

-----Original Message-----
From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On
Behalf Of Buck Calabro
Sent: Friday, August 24, 2001 3:46 PM
To: midrange-l@midrange.com
Subject: RE: Edit word question

>I tried that, and got a compiler error that the
>output size exceeded the end postition.  This
>didn't make sense, since the end position was
>190, and according to my calcs, 23 elements * 8
>(field len = 6, + 2 pos for decimal point and sign) = 184.

A little known sentence in the RPG manual indicates that the compiler
inserts 2 blanks in front of elements if an edit code is used.  See the
section in the Reference manual entitled Combination Edit Codes, just above
the table.  Chapter 14.

Buck
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com



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.