Post Reply 
is my program too big to edit?
07-29-2015, 10:53 AM (This post was last modified: 07-29-2015 10:53 AM by salvomic.)
Post: #3
RE: is my program too big to edit?
(07-29-2015 10:43 AM)DrD Wrote:  In general you can:

1. Modularize your program, by using 'external' subprograms that do not occupy memory until needed, and release memory when done. Each subprogram is much shorter, thus saving program memory.

2. Use reserved variables instead of locals.

3. Reduce the number of User variables or CAS vars, by re-using vars that are no longer necessary.

Would any of these things be helpful for you?

-Dale-

perhaps every of them, Dale...
but this program is become complex: 90% of functions call other function...
One (big) check also if the app of Marcel, Astro Lab 4, is installed, and decides if to use it or continue with the inside method...

I think to modularize, but I've not a precise idea about how i't better.
The vars are indeed too many but at the beginning I thought to have all in one inside; when the program grew I lost the control of it :-(
The modules, then, should be installed all by the user. I (for now) cannot make an app, as I think to help that of Marcel, already a good app, with my "ancillary" functions...
So, I cannot use AVars, and some (big!) list are included inside the program, and they make grow the dimension of it.

I appreciate every advice or hint about modularization, I'm searching to make myself an idea, a clear idea.

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
is my program too big to edit? - salvomic - 07-29-2015, 09:56 AM
RE: is my program too big to edit? - DrD - 07-29-2015, 10:43 AM
RE: is my program too big to edit? - salvomic - 07-29-2015 10:53 AM
RE: is my program too big to edit? - eried - 09-08-2015, 06:34 PM
RE: is my program too big to edit? - eried - 09-09-2015, 10:39 AM



User(s) browsing this thread: 1 Guest(s)