(HP48) Local variable limit
|
11-02-2017, 09:02 PM
Post: #13
|
|||
|
|||
RE: (HP48) Local variable limit
RPL's eagerness to create local variables with any name at all, including reserved words, can lead to truly hilarious code.
For example, the following program takes any whole number as its input, and returns the number of bits required to express it in binary. But just LOOK at that code! Code: << 0 1 ROT FOR SWAP 1 + SWAP STEP >> <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)