REBOL Programming/latin1?

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

LATIN1? value 

DESCRIPTION:[edit]

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

LATIN1? is a function value.

ARGUMENTS:[edit]

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

SOURCE CODE[edit]

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]
]