XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX BACO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX A small base conversion program for g-adic presentation of binaries for g = 2, 8, 10, 16 (HP49/HP49+) Waits on input for representing a binary in any of the four modes DEC, BIN, OCT, HEX in all modes at once. After printing the input digits, append a "h", or "d" etc as usual, then press ENTER. That displays the number in all 4 bases and leaves it on the stack in current base mode. All digits are shown, even if the binary representation is very long. Clearly, if you put "# 1Ad" into the edit line, ENTER errors because "A" is a digit only in the HEXA system. The input is independend on the current base setting to which BACO always returns. If no base indicator is appended to the input digits, BACO chooses the current base if the printed digits fit the base. EXAMPLE. Assume our ancestors had accepted the Octal-System (which would have been of great advantage). When we would have the "Millenium 4OOO"? Print 4000 and append o so that you have "# 4000o" in the input line. Press ENTER and you see that would happen in anno 2048d. -------------------------------------------------- Wolfgang Rautenberg - raut@math.fu-berlin.de - www.math.fu-berlin.de/~raut