Resolved Instance Variable
- Advice
- Yasir Masood
- PowerBuilder
- Thursday, 28 April 2022 04:52 AM UTC
Hi,
I have been assigned to maintain/update an older app written PB 10.5. I was able to upgrade the app to PB 2017 without any issue.
The app is a non-visual exe that is triggered through a job after every 30 minutes and is doing some mathematical calculations.
I see that the previous developer(s) used a lot of instance variables. Instead of passing the values as a parameter to the functions(s),
the values are accessed directly from the instance variable.
What would be your suggestion in this situation? Should I change the code and remove the instance variables?
Thank
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.