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




Hi John,

I think you're trying to do "count += 1" (rather than ++1.. no idea what that would do. In C you can do count++ or ++count, but that's C not RPG... And no, they are not that similar, not any more so than any other two procedural languages, anyway.)

You can do count += 1 in either free or fixed format. It works in both.




On 9/7/2012 3:33 PM, John McKee wrote:
Free form RPG looks kind of like C. I haven't (and won't) have the
opportunity to use it.

But, something like this:

/FREE
count ++1;
databuffer (count) = databuffer (count - 1);
/END-FREE

Instead of fixed form:

C eval count = count + 1
C eval databuffer(count) = databuffer (count - 1 )

Lots more differences than I will know.

John McKee

On Thu, Sep 6, 2012 at 8:18 AM, <newnancy@xxxxxxxx> wrote:
What is the definition of free from RPG? I think some people called that
NOT using the IP input primary cycle.


Thank you,
Nancy
On Wed, 5 Sep 2012 16:55:11 +0000 Brian May <bmay@xxxxxxxxxxxxxxxxx>
writes:
Gary,

I would be willing to look over what you have and give my humble (or
not) opinion.

Brian May
IBM i Modernization Specialist
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free





-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
gevans@xxxxxxxxx
Sent: Wednesday, September 05, 2012 11:44 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Formal RPG Free Standards

Is there anyone in this group that works in a shop where there are
formal standards for free form RPG? If so would you mind sharing?
We are attempting to establish standards here, and I would be
interested in knowing what others might have done.
Secondarily, might I get anyone to critique/criticize that which we
have put together. If so I could send said document directly to you
as an attachment.

Gary B Evans
Computer Programmer
National American Insurance Company
Ph #: 405-258-4509
Fax #: 405-240-5545
gevans@xxxxxxxxx
--
This is the RPG programming on the IBM i / System i (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 IBM i / System i (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.


____________________________________________________________
Dealing With Incontinence
Learn About This Medical Condition. What You May Be Able To Do About It
http://thirdpartyoffers.juno.com/TGL3141/504a4cf3bb6034cf311e9st02vuc
--
This is the RPG programming on the IBM i / System i (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.



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.