test_bit

ds2.1.1/lib/doc/efun/all/test_bit · 242 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571