Improved change of integer base
|
02-24-2014, 06:59 PM
Post: #4
|
|||
|
|||
RE: Improved change of integer base
Now the user input works, I created a small code snippet which can be used as more useful drop in replacement for the "drawmenu()" function (see also my other thread).
The on screen buttons now show the units in which the "Ans" value can be converted. If the user taps one unit, the converted value appears on the input line. 2 Problems remain: 1. I have to poll the mouse() value, which is not nice to the CPU. 2. If the user presses the a softbutton, the underlying softbutton of the system (e.g. "STO->" for the first softbutton in HOME view) is also pressed. If you have answers to the question please post them in the thread regarding the code snippet. I think that's more useful there. Code:
@Angus: I think this could easily adapted to achieve the base conversion you mentioned. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Improved change of integer base - Angus - 02-24-2014, 12:12 PM
RE: Improved change of integer base - Tugdual - 02-24-2014, 02:38 PM
RE: Improved change of integer base - Stefan - 02-24-2014, 03:20 PM
RE: Improved change of integer base - Stefan - 02-24-2014 06:59 PM
RE: Improved change of integer base - Angus - 03-01-2014, 10:22 AM
RE: Improved change of integer base - Terje Vallestad - 03-01-2014, 11:50 AM
RE: Improved change of integer base - massimo - 03-01-2014, 06:30 PM
RE: Improved change of integer base - Angus - 03-01-2014, 07:17 PM
RE: Improved change of integer base - Tim Wessman - 03-01-2014, 07:30 PM
RE: Improved change of integer base - Angus - 03-01-2014, 09:47 PM
RE: Improved change of integer base - Angus - 03-02-2014, 04:27 PM
|
User(s) browsing this thread: 1 Guest(s)