Page 1 of 1

Program does not run

Posted: July 25th, 2024, 2:50 pm
by AriSilva
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

Re: Program does not run

Posted: July 26th, 2024, 11:16 am
by justinlakier
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

Re: Program does not run

Posted: July 26th, 2024, 4:51 pm
by AriSilva
Thank you very much, I realize now that this problema had already occurred, and I forgot that.
Best
Ari

Re: Program does not run

Posted: August 5th, 2024, 12:13 pm
by Gregory Martin
FYI...this will be fixed in CSPro 8.1.