1836
Technical User
- Jun 19, 2008
- 18
HI, I have a strange situation...I have program: abc.prg that i use in many .prg's to execute a common routine. In some cases i need to execute this abc.prg routine in a
different way. As I am using this abc.prg in many parts of the system I did not add a parameter and call it with the parameter, instead I added the abc.prg as a procedure in the required .prg & changed it accordingly. Example: program XYZ.prg has the 'abc.prg' routine in the program
as a procedure. What's happening occasionaly is that when I am executing the abc.prg (do abc) in a program that does NOT have it as a procedure, expecting to execute the common abc.prg that I am using thruout the system, it ends up executing the abc procedure found in the xyz.prg.
Thank you
different way. As I am using this abc.prg in many parts of the system I did not add a parameter and call it with the parameter, instead I added the abc.prg as a procedure in the required .prg & changed it accordingly. Example: program XYZ.prg has the 'abc.prg' routine in the program
as a procedure. What's happening occasionaly is that when I am executing the abc.prg (do abc) in a program that does NOT have it as a procedure, expecting to execute the common abc.prg that I am using thruout the system, it ends up executing the abc procedure found in the xyz.prg.
Thank you