Rebol Programming/debase
Jump to navigation
Jump to search
USAGE:[edit | edit source]
DEBASE value /base base-value
DESCRIPTION:[edit | edit source]
Converts a string from a different base representation to binary.
DEBASE is a native value.
ARGUMENTS[edit | edit source]
- value -- The string to convert (Type: any-string)
REFINEMENTS[edit | edit source]
- /base -- Allow a selection of a different base for conversion
- base-value -- The base to convert from: 64, 16, or 2 (Type: any)
SOURCE CODE[edit | edit source]
debase: native[ {Converts a string from a different base representation to binary.} value [any-string!] "The string to convert" /base {Allow a selection of a different base for conversion} base-value "The base to convert from: 64, 16, or 2" ]