What it does:
A palindrome is a number which is read the same backwards and forwards. To find out if it is, the number is added whit the backwards-version of itself. If it still does not seem to mirror itself on the middle, the sum is added whit itself backwards again. This operation continues until it looks OK.
This script has its own command-line interface. It has no arguments, you just start it and when you have typed your number, pressed return, and the calculation is done, you can type another number.
You may also specify a range to search trough, and also choose the interval between each number to check.
To exit if you don't want to wait for calculations to be done, press ctrl+c. Else if you are on the prompt, type bye, exit or quit (some others also possible).
Type help to get a syntax-reminder.
Only "n" is required, must be a positive, non-decimal and non-zero number (all numbers must be so).
If "-" is specified, range-mode is enabled. "n-" alone means from "n" to infinity.
"s" is the range end. No number larger than this is checked, but an equal one is done if the interval stops here. If a "+" is in front of "s", the range stop becomes "s" added with "n".
"xi" sets the interval. "x" is an operator, and is always the same. "i" is the interval. Default interval is 1.
"xi" can be set alone with "n-" ("n-xi") to search from "n" to infinity with interval "i".
Checks the number 98.
Checks from 1 to infinite.
Checks from 100 to infinite with interval 20.
Checks 50-(50+20) which means 50-70.