STAR - get the byte addressed by a charp pointer.

Alternate Entry Name: .STAR

Usage:

B:
   char = star( char_pointer );
/* C users use subscripting */

Where:

char_pointer
is a character pointer (charp) as returned by the B library function CHARP.
char
receives the character that was in the position indicated by "char_pointer". This character is right-justified so that it occupies the lowest nine bits of "char".

Description:

STAR obtains the nine-bit character addressed by "char_pointer". In this way, it performs an indirection operation for a character in much the same way that the star ("*") operator performs an indirection operation for a word.

STAR is analogous to the more traditional B library function CHAR, but requires only one argument.

See Also:

expl b lib charp

expl b lib lstar

Copyright © 1996, Thinkage Ltd.