Rebol Programming/latin1?

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

LATIN1? value 

DESCRIPTION:[edit | edit source]

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

LATIN1? is a function value.

ARGUMENTS:[edit | edit source]

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

SOURCE CODE[edit | edit source]

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