Last modified on 31 October 2012, at 12:12

REBOL Programming/latin1?

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 CODEEdit

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