411 REFERENCE · Wikibooks
Rebol Programming/debase
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
DEBASE value /base base-value
DESCRIPTION:
Converts a string from a different base representation to binary.
DEBASE is a native value.
ARGUMENTS
value -- The string to convert (Type: any-string)
REFINEMENTS
/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
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"
]