(newRPL) Toggle Rectangular / Polar Display
|
06-12-2019, 10:23 PM
Post: #1
|
|||
|
|||
(newRPL) Toggle Rectangular / Polar Display
This is a little library implementing a toggle which alternates display of complex number on level 1 of the stack in rectangular or polar coordinate system.
It takes advantage of the possibility to assign new definitions not only to keys, but also to events associated to a key such as "key pressed" or "key released". In particular, given a complex number on level 1, if the toggle key is pressed, and as long as it is pressed, its representation will switch to rectangular if originally in polar and vice versa. When the toggle key is released, it will switch back to normal. The library consists of two commands: "INSTTOG" and "UNINSTTOG" which, as their name suggest, are used to bind/unbind the toggle to your favourite key. Both commands accept a string description of they key to which the toggle is associated, in the ASKKEY command format. For example, if you want to associate the toggle to unshifted "." (dot) you must run Code:
To uninstall the toggle Code:
Here is the code of the library Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(newRPL) Toggle Rectangular / Polar Display - JoJo1973 - 06-12-2019 10:23 PM
RE: (newRPL) Toggle Rectangular / Polar Display - Gilles - 09-26-2020, 02:07 PM
|
User(s) browsing this thread: 1 Guest(s)