
set_bit(3)            LPC 系統函數            set_bit(3)

名稱
     set_bit() - set a bit in a bitstring

語法
     string set_bit( string str, int n );

描述
     Return the new string where bit `n' is set in string  `str'.
     Note that the old string `str' is not modified.

     The max value of `n' is limited. Ask  the  administrator  if
     you want to now the maximum value.

     The new string will automatically be extended if needed.

     Bits are packed 6 per byte in printable strings.

請參考
     clear_bit(3), test_bit(3)

MudOS                Last change: 5 Sep 1994                    1

