HP_ELEMENTS and scroll building block
|
01-04-2014, 09:14 PM
(This post was last modified: 04-10-2014 03:54 PM by Miguel Toro.)
Post: #1
|
|||
|
|||
HP_ELEMENTS and scroll building block
Hi,
Studying the code of Mic's Periodic table for the HP Prime, I detected some bugs : 1. When pressing ENTER, without actually clicking on an element before, may cause an error if the index B (global variable) is 0, 2. Synthetic elements not showing the information page, 3. Potential problems with some unintended recursion calls So, since I finally received my HP Prime, I decided to learn about the language by making a revision of the code. I wanted to begin creating a basic building block for touch scrolling. Here is the code that of course could be much improved, but at least may be use to any kind of scrolling making the appropriate changes. Here is the code, then, for horizontal scroll using the mouse (touch scroll), hoping that you will find it useful: Code:
And of course, you will find attached the new code for Mic's Periodic table. I like the new language. It is really powerful and fun to work with. I hope Mic will forgive me taking the liberty of making these changes. *** UPDATE 2014-04-10 **** Thanks to Orcinus for a change allowing the text not to be affected by color theme. Regards, Miguel |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)