Recursive programs
-
- Profound User
- Posts: 38
- Joined: Mon Jun 20, 2011 11:44 am
- First Name: Bill
- Last Name: Streit
- Company Name: Fox Metro WRD
- Contact:
Recursive programs
I have a a program that is recursive. I go from one program to multiple other programs and then back to original program or Call another program then call back to the original program. In the past When i called and parm to the other program I would use the Free command . When I try this in a ProfoundUI program the compile blows up. Is there a similar command used or how would you handle this in UI program?
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Recursive programs
This is not an issue with ProfoundUI. The FREE opcode was removed in RPGIV. RPGIV by itself does not support recursion. I suggest reconsidering your design to avoid calling the same program recursively.
If you my must use recursion, you will need to do so using ILE subprocedures. ILE does support recursion.
If you my must use recursion, you will need to do so using ILE subprocedures. ILE does support recursion.
Who is online
Users browsing this forum: No registered users and 5 guests