Post Reply 
Periodic Table program
04-10-2014, 01:57 AM
Post: #14
RE: Periodic Table program
(04-10-2014 01:39 AM)Han Wrote:  
(04-10-2014 12:59 AM)John Colvin Wrote:  I have tried several times to get the Periodic Table Program to work on the actual Prime
without success. It works fine on the emulator. So the question, as stated by
the original post is: Has anyone been able to get this program to work on
the actual Prime?
I have a Prime with the most recent firmware updates and am using the most
recent version of Miguel's program.
There appears to be at least one syntax error in the program after it is loaded
to the actual Prime, preventing it from running. No errors on the emulator.

Some things to check (whether it's this program or any other program):
1. After transferring to the calculator, make sure that you "recompile" the program WHILE NOT INSIDE THE SPREADSHEET APP. There is a known issue with respect to graphic buffers conflicting with cell names in the spreadsheet app.
2. In some versions, the source code does not properly declare one of the subroutines prior to calling it. It likely was not a problem on the author's calculator because he wrote both an English and French version using the same program names. Thus, any issues due to lack of declarations in one program will not show up if the other program already has a compiled version in memory. However, most users in English speaking countries will only have one of these versions downloaded and installed, so they will see this error.
3. Check to make sure that your settings are not causing the issues:
a) Hex mode (in some versions, the author did not explicitly include proper base suffices in integers -- i.e. #F vs #Fh makes a difference)
b) Comma / Decimal (for fraction mark) will also affect compilation

These items above apply to all programs, not just the periodic table program.
Thanks Han for the help. The program did not affix an h after the hex number entries.
I set the number mode to Hex and that fixed the problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Periodic Table program - CarlRay - 04-08-2014, 11:15 PM
RE: Periodic Table program - eried - 04-08-2014, 11:32 PM
RE: Periodic Table program - Mic - 04-09-2014, 05:06 AM
RE: Periodic Table program - CarlRay - 04-09-2014, 07:36 PM
RE: Periodic Table program - Tim Wessman - 04-09-2014, 08:40 PM
RE: Periodic Table program - dhudspith - 04-09-2014, 08:48 PM
RE: Periodic Table program - Miguel Toro - 04-09-2014, 09:26 PM
RE: Periodic Table program - CarlRay - 04-09-2014, 10:22 PM
RE: Periodic Table program - Miguel Toro - 04-09-2014, 11:08 PM
RE: Periodic Table program - eried - 04-09-2014, 11:11 PM
RE: Periodic Table program - Mic_Dec - 04-09-2014, 11:51 PM
RE: Periodic Table program - John Colvin - 04-10-2014, 12:59 AM
RE: Periodic Table program - Han - 04-10-2014, 01:39 AM
RE: Periodic Table program - John Colvin - 04-10-2014 01:57 AM
RE: Periodic Table program - Mic - 04-10-2014, 05:10 AM
RE: Periodic Table program - Han - 04-10-2014, 05:36 AM
RE: Periodic Table program - orcinus - 04-10-2014, 03:06 PM
RE: Periodic Table program - Miguel Toro - 04-10-2014, 03:44 PM
RE: Periodic Table program - Han - 04-10-2014, 07:53 PM
RE: Periodic Table program - Miguel Toro - 04-18-2014, 01:54 PM
RE: Periodic Table program - Miguel Toro - 04-10-2014, 11:11 PM



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