Hi folks,
Sorry but I did not find a better subject to describe what is happenning.
I´m helping remotely INE-Bolivia with their census.
They are trying to run one of their programs (attached), and when they click in the Run icon to run it, it does nothing, it does not even create the .pff.
The compilation is successful.
When I tried it here by building the .pff by hand I got the same problem.
I did not look deep inside the .apc, but apparently it seems fine to me.
Best regards
Ari
Program does not run
-
- Posts: 227
- Joined: November 21st, 2022, 4:41 pm
Re: Program does not run
Hello,
as mentioned here, CSPro is running into memory issues. Many of these PROCs are over a thousand lines long with if/else statements. If you remove most of these oversized PROCs, you will find that the remaining code works. As mentioned in the linked post, PROC code size can be reduced by moving some logic to global functions and spreading it out to other PROCs, but for particularly large code additional steps may need to be taken to reduce PROC code size.
Hope this helps,
Justin
as mentioned here, CSPro is running into memory issues. Many of these PROCs are over a thousand lines long with if/else statements. If you remove most of these oversized PROCs, you will find that the remaining code works. As mentioned in the linked post, PROC code size can be reduced by moving some logic to global functions and spreading it out to other PROCs, but for particularly large code additional steps may need to be taken to reduce PROC code size.
Hope this helps,
Justin
Re: Program does not run
Thank you very much, I realize now that this problema had already occurred, and I forgot that.
Best
Ari
Best
Ari
Best
Ari
Ari
-
- Posts: 1851
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Program does not run
FYI...this will be fixed in CSPro 8.1.