_TALLY - build a word or BCD tally.

(Not in the ANSI standard)

Usage:

tally = _tally(bcdptr,length);

Where:

void *bcdptr;
is a BCD pointer as created by "_bcdptr". This points to a BCD string.
int length;
is the number to be put in the length field of the tally. The absolute value of "length" must be less than 4096. The "length" argument may be omitted, in which case the default is zero.
int tally;
is assigned the one-word tally.

Description:

"_tally" creates a BCD tally to the BCD character indicated by "bcdptr".

See Also:

expl c lib _talyb

expl c lib _bcdptr

Copyright © 1996, Thinkage Ltd.