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