TALLY - create tally to BCD string.

Usage:

B:
   tal = tally( string [, pos, length] );
C:
   int tally(int *string [, int pos, int length] );

Where:

string
points to a string of BCD characters.
pos
is a character offset into "string". The initial character of "string" has a "pos" of zero, the next character has a "pos" of one, and so on. If "pos" is not specified, the default is zero.
length
is the number to be put in the length field of the tally. The absolute value of "length" must be less than 4096. If "length" is not specified, the default is zero.
tal
receives the one-word tally.

Description:

TALLY creates a BCD tally to the given character position "pos" in "string".

Copyright © 1996, Thinkage Ltd.