Skip to main content
Version: Next

char_code/2

Description

char_code/2 is a predicate that converts between a character and its character code.

Signature

char_code(?Char, ?Code)

Where:

  • Char is a single-character atom.
  • Code is the corresponding character code (integer).