Non-decimal radices/Convert: Difference between revisions

m
→‎{{header|REXX}}: added a comment in the header section. -- ~~~~
m (→‎{{header|REXX}}: added/changed comments, added whitespace, eliminate a subroutine. -- ~~~~)
m (→‎{{header|REXX}}: added a comment in the header section. -- ~~~~)
Line 1,301:
Instead of writing two seperate routines, only one was written to handle both tasks.
<br><br>This routine was ripped out from a bigger version of mine that allowed any number as input, including decimal (or whatever base) fractions.
<br><br>Illegal digits are detected as well as illegal (not supported) bases.
<lang rexx>/*REXX program converts numbers from one base to another, from 2 ──► 90.*/
/*┌────────────────────────────────────────────────────────────────────┐