mud/lib/doc/efun/strings/test_bit
2020-09-06 05:43:07 -07:00

12 lines
242 B
Plaintext

test_bit - test a bit in a bitstring
int test_bit( string str, int n );
Returns 1 if bit 'n' was set in string 'str', and zero otherwise.
See also:
set_bit,
clear_bit
Tim Hollebeek Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere