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



Jeff

I hold the unpopular beleif that changing a subroutine to a procedure, just
for the sake of making the change, is not a good thing. If all you are doing
is replacing a exsr with a callp you have gained nothing, and may actually
take a hit on performance, altho minor it is still there. If you are
changing the subroutine to a procedure to take advantage of what a procedure
offers by all means do so. Like recursion, migrating the logic to a service
program or module so it is reusable, isolation of the logic etc... But you
will have to recode the logic to deal with parameters and return values,
local and global variables etc... 

Just my $.02

Duane Christen

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jeff Young
Sent: Wednesday, April 19, 2006 10:48 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Tool to convert Subroutine to SubProcedure


Does anyone have a utility or tool that will convert subroutines to
subprocedures?
  I want to convert the exsr to a prototyped call to the procdeure.
  The tool would need to create the prototype, change the exsr and change
the subroutine to a procdeure.
   
  Thanks,
   
   


Jeff Young 
Sr. Programmer Analyst
Dynax Solutions, Inc.
A wholly owned subsidiary of enherent Corp.
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions
V5R2 
IBM  Certified Specialist- e(logo) server i5Series Technical Solutions
Designer V5R3
IBM  Certified Specialist- e(logo)server i5Series Technical Solutions
Implementer V5R3 

  
 








                
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo!
Messenger with Voice.

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.