BYTVAL: Translating a Character to Decimal

How to:

The BYTVAL function translates a character to the ASCII, EBCDIC, or Unicode decimal value that represents it, depending on the operating system.

Syntax: How to Translate a Character

where:

character

Alphanumeric

Is the character to be translated. If you supply more than one character, the function evaluates the first.

output

Integer

Example: Translating the First Character of a Field

WebFOCUS

Feedback