CHARB - extract BCD character from string.

Alternate Entry Name: .CHARB

Usage:

B:
   ch = charb( string, pos );
C:
   int *charb(int *string, int pos);

Where:

string
is a pointer to the beginning of a vector containing a string of BCD characters.
pos
is a number indicating the position of the desired character in the string. The character which begins the string is in position zero, the next character is in position one, and so on.
ch
is the character found in the specified position.

Description:

CHARB is used to extract a six-bit BCD character from a vector containing BCD characters packed six characters per word. It returns the character found in the specified position.

See Also:

expl b lib char

Copyright © 1996, Thinkage Ltd.