ashok-khanna / rpn-30 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
A long hold on CLR when everything else is already clear could clear the registers 0-9 (or 0-8 if 9 is the iOS clipboard).
When a register is recalled (with chord RECALL [register], the value in the register is displayed without decimal places. The value is maintained with decimal places but the decimal places do not show.
Example
Keystroke sequence: 1.2345 [STORE 3] CLR [RECALL 3]
Display: 1
Additional keystroke: ENTER
Display: 1.2345
I'll try to look at the code later today.
Here is a rough sketch of how Build-Your-Own-Keypad might work:
https://photos.app.goo.gl/ABwLv5a9dvN56vuB9.
Users would see the 9-digits of the keypad with their current long-tap functions (on the left) and they would see a library of available functions (on the right, maybe grouped by math category). User would tap and drag a function to a keypad button, replacing the current long-tap function with the new one.
There should probably be a draggable "no function" or "blank" option.
We might or might not want to protect people against assigning the same function to two keys. If a function that is already assigned to a key is dragged to a new key, then both keys should be updated (leaving the previous assignment blank and ready).
This is way over my head in terms of Swift programming; I don't know very much about writing GUI. Would you be interested in presenting it as a hackathon challenge? There may be IT students at UMass or elsewhere who would have fun writing something like this as practice in Swift.
When entering a number the decimal point does not display until the number after the decimal point is entered.
Would it be easy to make store-9 write to the iOS clipboard and recall-9 read from the iOS clipboard?
Losing one register in exchange for clipboard access seems like a good trade-off.
Here is an explanation of clipboard access in Swift:
https://stackoverflow.com/questions/24670290/how-to-copy-text-to-clipboard-pasteboard-with-swift
Thanks for your consideration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.