Post Reply 
is my program too big to edit?
09-09-2015, 10:39 AM
Post: #11
RE: is my program too big to edit?
(09-08-2015 07:56 PM)salvomic Wrote:  
(09-08-2015 06:34 PM)eried Wrote:  I was able to run your program with some tweaks but it is clearly unstable, after two edits the emulator crashed and all programs were wiped. Not sure what is the issue, but I noticed that you could improve several sections, like for example the planets section:
...
Maybe you can track down the issue after cleaning the code from all these stuff bulking it.

hi Eried,
you're right, I should cleaning the code a lot...
I'll try soon, anyway.
Generally I don't love much to use globals, but in this case maybe it's the best approach...
I hope somebody could help me, thanks!

thank you
Salvo

EDIT:
however for no is a bit difficult to amend it, if every time I change something in CK and send it to the calculator, my Prime crashes...
I don't remember at what level it was still good, but after one of the last functions I added it began the problem with the crashes...

Yeah I understand but since your program is quite big already is not that easy to get help. My recommendation is to do some rudimentary versioning with added documentary.

First start with an empty program and add one by one optimized functions of the original code writing what they receive and output (easy to get help like that later). After each test save that as a version and write what happened with that version in the prime.

The main issue you will encounter is that you cant trust the environment (the prime)... and that is usually the last thing you may think is bugged when developing something.

My website: erwin.ried.cl
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? - 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)