clear_bit

ds2.1.1/lib/doc/efun/all/clear_bit · 353 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

clear_bit - zero a bit in a bit string

string clear_bit( string str, int n );

Return the new string where bit 'n' is cleared in string 'str'. Note that
the old string 'str' is not modified.  See set_bit() for information on
the format of the string.

See also:
 set_bit,
 test_bit

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571