# characters

Character Library

Author | Matthew Schinkel - borntechi.com, copyright © 2009-2014, all rights reserved.
Adapted-by | Joep Suijs
Compiler | >=2.4k

Description

    Library for managing characters.

Dependencies

No dependency found

## Summary

### Global variables/contants

### Procedures

- `char_lower(byte in out char)`
- `char_int_to_ascii(byte in out num)`
- `char_upper(byte in out char)`

### Functions

- `char_is_letter(byte in char) return bit`
- `char_is_printable(byte in char) return bit`
- `char_is_digit(byte in char) return bit`
- `char_is_lower(byte in char) return bit`
- `char_is_upper(byte in char) return bit`
- `char_compare(byte in char1, byte in char2) return bit`

## API details

### Global variables/contants

### Procedures

- `char_lower(byte in out char)`

      convert a upper case character to lower case

- `char_int_to_ascii(byte in out num)`

      convert an integer (0 to 9) to a single ascii character

- `char_upper(byte in out char)`

      convert a lower case character to upper case

### Functions

- `char_is_letter(byte in char) return bit`

      check if a character is a letter

- `char_is_printable(byte in char) return bit`

      check if is a printable character

- `char_is_digit(byte in char) return bit`

      check if a character is a number

- `char_is_lower(byte in char) return bit`

      check if a character is lower case

- `char_is_upper(byte in char) return bit`

      check if a character is upper case

- `char_compare(byte in char1, byte in char2) return bit`

      check if two characters are the same (not case dependent)

## Related samples

No sample found