HP Forums

Full Version: (50g) Integer Power of Ten Test
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For integer input the programme returns 1. for an integer power of 10 & 0. otherwise.

Code:
« →STR SREV OBJ→ 1 SAME »
Wouldn't this be shorter and simpler with your ZREV program?
Indeed, John, but who knows ZREV exists?
Presumably, those who read your posts!
Just in case there's any doubt, the programme John proposes is

« ZREV 1 SAME »

which is shorter & faster.
Looking at the number of views of ZREV, John, a max of 97 viewers have seen what it is.

As this thread has currently been viewed 99 times, it's just possible that it's all the same people, but probably not, so I think the programme with built in commands is the one to display.
Reference URL's