< Rebol Programming

USAGE:

LATIN1? value 

DESCRIPTION:

Returns TRUE if value or string is in Latin-1 character range (below 256).

LATIN1? is a function value.

ARGUMENTS:

  • value -- (Type: string file email url tag issue char integer)

SOURCE CODE

latin1?: func [
    {Returns TRUE if value or string is in Latin-1 character range (below 256).} 
    value [string! file! email! url! tag! issue! char! integer!]
][
    either integer? value [value < 256] [true]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.