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



To convert from numeric to character I use %Char().  To go the other way I
use a sub proc called #CtoN() which seems to be used by many so I am
guessing it is open source.  My shop just got up to V5R1 about a month ago
so I haven't investigated going from character to numeric, but I am all
ears. . .

Aaron Bartell

-----Original Message-----
From: Wills, Mike N. (TC) [mailto:MNWills@xxxxxxxxxxxxxx]
Sent: Friday, April 25, 2003 3:06 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Free Form RPG Opinions Wanted


Hey... I am just looking for the opinion of my fellow programmers here one
the "proper" way of doing this. 

I am just starting to investigate the free format. I actually can't wait to
try it. However, this is the one thing that I want to know what the best way
around this ideology would be.

-----Original Message-----
From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx]
Sent: Friday, April 25, 2003 2:52 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Free Form RPG Opinions Wanted


> From: Wills, Mike N. (TC)
>
> What should I be doing then when converting a (no decimal) numeric to text
> and vise-versa? I use that all the time as a quick convert to number and
> back.

Because the free programmers think it's ugly, so you should change your
programming style.  That's the gist of the argument on this point.

JOe

_______________________________________________
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.cgi/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.cgi/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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.