set_bit

foundationI_fluffos_v1/lib/doc/efun/set_bit · 714 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

set_bit(3)            LPC Library Functions            set_bit(3)

NNAAMMEE
       set_bit() - set a bit in a bitstring

SSYYNNOOPPSSIISS
       string set_bit( string str, int n );

DDEESSCCRRIIPPTTIIOONN
       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.

SSEEEE AALLSSOO
       clear_bit(3), test_bit(3)

MudOS                       5 Sep 1994                          1

Site Stats

Snippets: 1791
Codebases: 571